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

5 hours' work, wasted

11 December, 200629 July, 2007

For the sake of 10 minutes. Because Mrs Elbeno insisted that I turn off the computer NOW and go to bed last night, and /tmp gets cleared on boot. Grrr. If you’re reading this, Mrs Elbeno, I’m never listening to you again over such matters!

Read More

Hardy Heron

26 April, 2008

After a couple of days of slow servers, today it picked up a bit and I installed Hardy Heron without problems. Well, with a couple of minor problems. First, my /boot partition is still just a little too small, so I had to move a few things around to manage…

Read More

after 12 years, why not?

6 July, 200629 July, 2007
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