iptables and Torrents
- From: Bob Simon <nobody@xxxxxxxxxxx>
- Date: Tue, 10 Jun 2008 05:24:35 -0500
I wish to download Torrent files to one of my computers which is
behind a Linux firewall. uTorrent is configured to use port 31234 for
incoming connections but the uTorrent Port Checker states:
Error! Port 31234 does not appear to be open.
iptables -L -v shows the counters increasing for TCP and UDP packets
to this dport but my download speed is VERY slow so I presume that the
uTorrent Port Checker is correct and detected a problem that I am not
seeing.
Can someone point out the error in my iptables config? Here are the
relevant lines:
global=xx.xx.xx.xx
bob1=192.168.0.2
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -t nat -A PREROUTING -p tcp -d $global --dport 31234 -j DNAT
--to $bob1
iptables -t nat -A PREROUTING -p udp -d $global --dport 31234 -j DNAT
--to $bob1
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -d $bob1 -p tcp --dport 31234 -j ACCEPT
iptables -A FORWARD -d $bob1 -p udp --dport 31234 -j ACCEPT
.
- Follow-Ups:
- Re: iptables and Torrents
- From: Andy Furniss
- Re: iptables and Torrents
- From: Shibu C Varughese
- Re: iptables and Torrents
- Prev by Date: Re: Networking a printer
- Next by Date: Re: ADVERT: Secure communications
- Previous by thread: Two network cards howto
- Next by thread: Re: iptables and Torrents
- Index(es):
Relevant Pages
|