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

cups, foomatic & gimp-print excitement

4 June, 200529 July, 2007

Finally got the wireless print server working properly with all the PCs in the house (WinXP, Win2K, Debian and Gentoo). Debian was the easiest (cups admin page). Win2K not bad (install disc). WinXP tough (install disc & fiddling with network connections). Gentoo the toughest (nothing for printing in place already)….

Read More

Interactive Fiction – I7 on Linux

20 May, 200629 July, 2007

Well, there is now a front end to Inform 7 on Linux, using Haskell and GTK. The compilers are still Windows exes so must be run with Wine. For now. One would think it pretty straightforward to recompile a command line app though.

Read More

kernel hacking

10 March, 200729 July, 2007

Now that I’ve got my new router set up (it’s working fine btw) I decided to dig a bit deeper into the firmware possibilities. Warning: this post is mostly martian, and it’s long. The first thing I wanted to investigate was the possibility of port triggering. Port triggering is an…

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