How to set up port forwarding for bittorent.

Aditya Nag email hidden
Mon Jun 2 13:50:46 CEST 2008


Hi,

I have Fiaif set up in the following manner.

2 zones, external and internal.

Two network cards - eth0 is internal, and ppp0 connects to my ADSL modem.

fiaif is set to NAT all traffic from inside the lan to the internet.
Very simple, nothing complex happening.

All this is working well.

Now I want to forward a port to one internal machine for bittorrent.

How do I do this?

I guess I first have to allow the port in zone.ext like this:

INPUT[0]="ACCEPT tcp 6881 0.0.0.0/0=>0.0.0.0/0"

But now, what do I do? All I want is that all traffic coming in on
this port be redirected to 192.168.1.23 port 6881

I cannot understand whether to put an SNAT rule in zone.ext or
zone.int, and what the format is.

Any help would be much appreciated.

Regards,
Aditya

-- 
www.adityanag.com


More information about the fiaif mailing list