Re: Bit torrent forward through iptables...
From: Michael Thomas (mtNOSPAMMING_at_armory.com)
Date: 09/24/05
- Previous message: Lenard: "Re: Unable to configure wireless with FC4"
- In reply to: Ivan Marsh: "Bit torrent forward through iptables..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 24 Sep 2005 08:46:01 -0700
On Fri, 23 Sep 2005 11:52:12 -0500, Ivan Marsh <annoyed@you.now>
wrote:
>Hey folks,
>
>Trying to get bit torrent forwarded to an internal WixXP box through
>iptables on a Linux router.
>
>My Linux box has eth0 (external nic connected directly to cable modem) and
>eth1 (internal nic connected to lan) firewall, masq and port forwarding
>are already set up and working (for other applications).
>
>Anyone know what ports... or sets of ports need to be forwarded to run the
>bit torrent client from the machine on the lan?
>
>I can run it and get connections but the actual downloads never seem to
>start and I get blocked ports that weren't on any list I've seen on any of
>the torrent sites I've looked up.
Here are my torrent rules. I had to setup a prerouting chain which
specified the box I wanted to run torrent on, then forward. Adding a
IP range wouldn't work.
Change the IP to whatever your XP box is.
#For Torrent
$IPT -A PREROUTING -t nat -p tcp -i eth0 --dport 6881:6889 -j DNAT
--to 192.168.0.19:6881:6889
$IPT -A FORWARD -p tcp --dport 6881:6889 -j ACCEPT
$IPT -A FORWARD -p tcp --sport 6881:6889 -j ACCEPT
- Previous message: Lenard: "Re: Unable to configure wireless with FC4"
- In reply to: Ivan Marsh: "Bit torrent forward through iptables..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|