EtreeWiki | RecentChanges | Preferences
EtreeWikiGoals | AboutThisSite | EditingTips

 
BitTorrent_iptables
This is what worked for me.

I'm running a Redhat linux, kernel 2.4.20-8, iptables v1.2.7a

Hopefully it will help you out too.

$IPTABLES -t nat -I PREROUTING -p tcp --dport 6881:6999 -j DNAT --to-destination [IP of machine running BT on local network]

$IPTABLES -t nat -I PREROUTING -p tcp --dport 6969 -j DNAT --to-destination [IP of machine running BT on local network]

$IPTABLES -A FORWARD -p tcp -i [external infterface] --dport 6881:6999 -d [IP of machine running BT on local network] -j ACCEPT

$IPTABLES -A FORWARD -p tcp -i [external infterface] --dport 6969 -d [IP of machine running BT on local network] -j ACCEPT

for my [external infterface], I replaced it with "$EXTIF", no quotes

This Page Last Changed: May 8, 2004 14:12:45
Edit this ARCHIVE VERSION of this document · View page history

All content written by members of the etree.org community, for the etree.org community.
© 1998-2024, All Rights Reserved.