Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2007 18:00:21 -0400
From:      "Dave" <dmehler26@woh.rr.com>
To:        <freebsd-pf@freebsd.org>
Subject:   FreeBSD 6.2 pf and bittorrent
Message-ID:  <000901c7cd74$ddb0cb40$0200a8c0@satellite>

next in thread | raw e-mail | index | archive | help
Hello,
    I'm running pf on a 6.2 router. I've got one client a linux box, that 
i'd like to be able to use bittorrent. I'm getting an error about unable to 
connect to a trackerless client, i believe it's called. I am behind an 
authenticating httpproxy if that matters. ON the linux box i'm using 
bittorrent v4.1 and using the bittorrent-console command. The options i used 
are:

bittorrent-console --minport 6881 --maxport 6999 --tracker_proxy 
http://username:password@machine.domain.com:880/ torrentfile

The error is "Error: problem connecting to tracker - nonnumeric port: 
'80/'".
my pf rules look like this:

bittorrent = "192.168.0.4/32"
bittorrent_port = "6881:6999"

# bittorrent
rdr on $ext_if inet proto tcp from any to any port $bittorrent_port -> 
$bittorrent port $bittorrent_port
rdr on $ext_if inet proto udp from any to any port $bittorrent_port -> 
$bittorrent port $bittorrent_port

# bittorrent
pass in quick on $ext_if inet proto tcp from any to $bittorrent port 
$bittorrent_port $tcp_state
pass in quick on $ext_if inet proto udp from any to $bittorrent port 
$bittorrent_port keep state

# bittorrent
pass out quick on $int_if inet proto tcp from any to $bittorrent port 
$bittorrent_port $tcp_state
pass out quick on $int_if inet proto udp from any to $bittorrent port 
$bittorrent_port keep state

The tcp_state option is "flags S/SA modulate state".
Any help appreciated.
Thanks.
Dave.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c7cd74$ddb0cb40$0200a8c0>