|
Page 1 of 1 |
|
Posted: Mon, 2nd Jun 2014 16:59 Post subject: linux + utorrent + router |
|
 |
any linux advance user around ?
for some time i'm playing with a router, a rpi and now i'm trying to make a tunnel work.
my issue is that utorent is not conectable, basically, i canot get any incoming conections.
i have :
a router with external ip xxx, internal ip 192.168.0.1
a raspberrypi conected wired to router
eth0 inet addr:192.168.1.141
tun0 inet addr:10.8.0.1 -> openvpn server ip.
now, i have somewhere a computer, which is conecting to rpi trough openvpn client 10.8.0.6 on which i have that utorrent installed.
now, i think i screwed up somewher, not sure where. my knowledge of linux + iptables is lacking.
i set in utorrent port 2259 for incoming conection.
i fwd that port in router management to 192.168.0.141
on rpi i have in rc.local :
/sbin/iptables --table nat -A POSTROUTING -o eth0 -j MASQUERADE
/sbin/iptables -t nat -A PREROUTING -p udp -d 192.168.1.141 --dport 2259 -j DNAT --to-destination 10.8.0.6:2259
/sbin/iptables -t nat -A PREROUTING -p tcp -d 192.168.1.141 --dport 2259 -j DNAT --to-destination 10.8.0.6:2259
/sbin/iptables -A FORWARD -i tun0 -j ACCEPT -> it should have been eth0 ?
ipv4 is forwarded
root@raspberrypi:/home/pi# cat /proc/sys/net/ipv4/conf/eth0/forwarding
1
on the computer, whatismyipo is showing xxx, the router external ip.
and of course, is not working.
|
|
Back to top |
|
 |
|
Posted: Tue, 17th Jun 2014 17:11 Post subject: |
|
 |
fucker the fucker the fuck... why the fuck on earth is someone using utorrent crapware on a linux kernel environment? get you shit together and use something like transmission and try and report back again
|
|
Back to top |
|
 |
|
Posted: Wed, 18th Jun 2014 07:27 Post subject: |
|
 |
rpi+ linux is the openvpn server.
utorrent is on the windows openvpn client.
|
|
Back to top |
|
 |
|
Posted: Wed, 18th Jun 2014 15:57 Post subject: I have left. |
|
 |
|
|
Back to top |
|
 |
Page 1 of 1 |
All times are GMT + 1 Hour |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group
|
|
 |
|