Re: pf and bittorrent
- From: "Dave" <dmehler26@xxxxxxxxxx>
- Date: Thu, 2 Aug 2007 12:43:46 -0400
Hi,
Thanks for your reply. I'd prefer to use the standard ports, so as to
assure maximum compatibility. I've added the rules, which bittorrent client
do you use is it on a linux box and how is it invoked?
Thanks.
Dave.
"Clever Monkey" <spamtrap@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:Rx4si.20322$13.3835@xxxxxxxxxxxxxxx!nnrp1.uunet.ca...
Dave wrote:
Hello,
I've got an obsd pf gateway. Behind it is a centos5 client that i
want to be able to use bittorrent. I've added rules to my pf.conf
redirecting incoming bittorrent ports 6881 through 6999 to the centos
box, and allowing outgoing traffic, yet i get no downloads, and errors
when trying to connect to the trackerless server or something like that.
Does anyone have this working?
I see you are discussing this else-thread, but for reference, here are the
germane parts of my pf.conf for BitTorrent:
BitTorrent="50001"
# BitTorrent
rdr on $ext_if inet proto { udp, tcp } from any to $ext_if port
$BitTorrent -> ($int_if:network) port $BitTorrent
# Allow BitTorrent traffic, and shortcut the rest of the rules
pass in quick on $ext_if inet proto { tcp, udp } from any to any port
$BitTorrent
I'm not sure if this is ideal or not, but it works. In the past I had to
redirect to specific internal hosts, but the wildcarding seem to work ok.
Note I changed the BitTorrent port to 50001. I found I did not seem to
need a range. I'm probably not letting myself connect to as many peers,
but (as I said) this works Good Enough for me.
--
clvrmnky <mailto:spamtrap@xxxxxxxxxxxxxxxx>
Direct replies will be blacklisted. Replace "spamtrap" with my name to
contact me directly.
.
- Follow-Ups:
- Re: pf and bittorrent
- From: Christian Weisgerber
- Re: pf and bittorrent
- From: Clever Monkey
- Re: pf and bittorrent
- References:
- pf and bittorrent
- From: Dave
- Re: pf and bittorrent
- From: Clever Monkey
- pf and bittorrent
- Prev by Date: Re: OpenOffice slow under OBSD 4.1
- Next by Date: Re: pf and bittorrent
- Previous by thread: Re: pf and bittorrent
- Next by thread: Re: pf and bittorrent
- Index(es):
Relevant Pages
|