Skip to content
Why is a raven like a writing desk?

Thoughts both confusing and enlightening.

Why is a raven like a writing desk?

Thoughts both confusing and enlightening.

port triggering iptables config

elbeno, 11 March, 200729 July, 2007

I think the relevant iptables commands for port triggering with Bittorrent are:

#iptables -t nat -A prerouting_wan -p tcp –dport 6881:6889 -j TRIGGER –trigger-type dnat –trigger-proto tcp –trigger-match 6881 –trigger-relate 6881-6889

This tells the router to do NAT on the packets arriving on the WAN TCP ports 6881 through 6889 as allowed by the trigger on TCP port 6881.

#iptables -A forwarding_wan -p tcp –dport 6881:6889 -j ACCEPT

And this tells the router to forward packets on TCP ports 6881 through 6889 (it should forward packets that have reached here through application of the previous rule).

Linux

Post navigation

Previous post
Next post

Related Posts

getting stuff working on Linux

2 February, 200729 July, 2007

Inspired by ‘s recent wibblings on Linux, I decided it was time to iron out my own wrinkles. So after a very little googling, I was able to get a bunch of stuff working that for one reason or another had broken when I upgraded from Dapper to Edgy. Sound…

Read More

I’m not with Comcast…

20 October, 2007

…but apparently they sent RSTs both ways. And I wouldn’t put it past my ISP to forcibly reset Bittorrent connections either. So I’ve told my firewall to drop BIttorrent TCP packets with the RST bit set. The question is, when will ISPs understand the two fundamentals of the situation, viz….

Read More

Computer niggles

23 August, 200529 July, 2007

… of my efforts to run a dual boot Gentoo/WinXP system. The other day I ran across 10 days as a Linux user, the account of a Windows user’s self-imposed Linux odyssey. And it makes fairly interesting reading. As you know I’ve been a Linux user for hmm, over 10…

Read More

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

©2026 Why is a raven like a writing desk? | WordPress Theme by SuperbThemes