From owner-freebsd-pf@FreeBSD.ORG Mon Jul 23 22:47:33 2007 Return-Path: <owner-freebsd-pf@FreeBSD.ORG> Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF84D16A419 for <freebsd-pf@freebsd.org>; Mon, 23 Jul 2007 22:47:33 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from ms-smtp-02.ohiordc.rr.com (ms-smtp-02.ohiordc.rr.com [65.24.5.136]) by mx1.freebsd.org (Postfix) with ESMTP id B2A2C13C46A for <freebsd-pf@freebsd.org>; Mon, 23 Jul 2007 22:47:33 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from satellite (cpe-71-64-129-15.woh.res.rr.com [71.64.129.15]) by ms-smtp-02.ohiordc.rr.com (8.13.6/8.13.6) with SMTP id l6NM0Lqf026371 for <freebsd-pf@freebsd.org>; Mon, 23 Jul 2007 18:00:22 -0400 (EDT) Message-ID: <000901c7cd74$ddb0cb40$0200a8c0@satellite> From: "Dave" <dmehler26@woh.rr.com> To: <freebsd-pf@freebsd.org> Date: Mon, 23 Jul 2007 18:00:21 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: FreeBSD 6.2 pf and bittorrent X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dave <dmehler26@woh.rr.com> List-Id: "Technical discussion and general questions about packet filter \(pf\)" <freebsd-pf.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-pf>, <mailto:freebsd-pf-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pf> List-Post: <mailto:freebsd-pf@freebsd.org> List-Help: <mailto:freebsd-pf-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-pf>, <mailto:freebsd-pf-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 23 Jul 2007 22:47:34 -0000 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.