From owner-freebsd-net@FreeBSD.ORG Wed Jul 13 15:50:48 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BDC016A41C for ; Wed, 13 Jul 2005 15:50:48 +0000 (GMT) (envelope-from tarkhil@webmail.sub.ru) Received: from techno.sub.ru (webmail.sub.ru [213.247.139.22]) by mx1.FreeBSD.org (Postfix) with SMTP id B541643D45 for ; Wed, 13 Jul 2005 15:50:46 +0000 (GMT) (envelope-from tarkhil@webmail.sub.ru) Received: (qmail 44379 invoked by uid 0); 13 Jul 2005 15:49:30 -0000 Received: from webmail.sub.ru (HELO localhost) (213.247.139.22) by techno.sub.ru with SMTP; 13 Jul 2005 15:49:30 -0000 Received: from unknown ([213.247.139.22]) by localhost (webmail.sub.ru [213.247.139.22]) (amavisd-new, port 10024) with SMTP id 42422-03 for ; Wed, 13 Jul 2005 19:49:25 +0400 (MSD) Received: from webmail.sub.ru (HELO control.sub.ru) (213.247.139.22) by techno.sub.ru with SMTP; 13 Jul 2005 15:49:24 -0000 Received: (qmail 44312 invoked by uid 0); 13 Jul 2005 15:49:24 -0000 Received: from unknown (HELO armada) (192.168.1.251) by control.sub.ru with SMTP; 13 Jul 2005 15:49:24 -0000 Received: (qmail 74605 invoked from network); 13 Jul 2005 15:44:45 -0000 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by armada with SMTP; 13 Jul 2005 15:44:45 -0000 Message-ID: <42D536EC.5030500@webmail.sub.ru> Date: Wed, 13 Jul 2005 19:44:44 +0400 From: Alex Povolotsky User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050704 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mail.sub.ru Subject: GRE and PF problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 15:50:48 -0000 Hello! I'm using FreeBSD (5.3-RELEASE-p5) as internet access server, and I have to NAT GRE packets. I'm using pf. The problem is that SOMETIMES PF fails to create proper rule using nat, while binat works fine. Not only I do not want to expose Windows boxes (even if those addresses are firewalled), but it's also a terrible waste of real IPs. Can anyone point me if I have incorrect PF config, or PF just work poorly with gre? Alex.