FreeBSD 6.2 pf and bittorrent
Dave
dmehler26 at woh.rr.com
Mon Jul 23 22:47:34 UTC 2007
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.
More information about the freebsd-pf
mailing list