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

Re: How to open range of ports/ Using BitTorrent



I use the following rules to allow bittorrent through on my firewall to the
host thats actually running it (which is $host_gris in these rules).
# bt stuffs
rdr on $if_ext inet proto tcp from any to $if_ext port 6881:6889 \
    -> $host_gris port 6881:6889
pass in quick on $if_ext inet proto tcp from any to $host_gris \
    port 6880 >< 6890 flags S/SA keep state
Assuming you pass all traffic on your internal interface, that should work.
David Gwynne
----- Original Message ----- 
From: "Andy" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 10, 2004 5:13 AM
Subject: How to open range of ports/ Using BitTorrent
> Hi
>
> I'm trying to use BitTorrent thorugh my firewall, and would like to open
> ports 6881 to 6999. How can I easelly do this with the following rule:
> pass in on $External inet proto tcp from any to 172.16.0.0/16 port {6969,\
> 6881, 6882, 6883, 6884, 6885, 6886, 6887, 6888, 6889,} keep state
>
> Should I also redirect these ports with NAT to the internal host running
> BitTorrent?
>
> Please help
>
> /Andy
>
>