[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bittorrent and pf.conf rules



corgi corgi wrote:
> anybody have any sample pf.conf rules for a workstation using bittorrent?
> 
> The workstation is natted behind an openbsd 3.3 gateway.

You need to NAT the bittorrent ports to a single machine.

rdr on $outside_interfaces proto tcp from any to $outside_addr port
6881:6889 -> $bt_host port 6881:6889

If you want to run bittorrent downloads from multiple hosts, you will
need to write a proxy.

-d