From owner-freebsd-pf@FreeBSD.ORG Tue Nov 13 18:06:42 2007 Return-Path: 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 2C42216A417 for ; Tue, 13 Nov 2007 18:06:42 +0000 (UTC) (envelope-from marceloc@espoltel.net) Received: from jupiter.espoltel.net (jupiter.espoltel.net [200.49.242.4]) by mx1.freebsd.org (Postfix) with ESMTP id E47BB13C4A7 for ; Tue, 13 Nov 2007 18:06:41 +0000 (UTC) (envelope-from marceloc@espoltel.net) Received: from localhost (localhost.espoltel.net [127.0.0.1]) by jupiter.espoltel.net (Postfix) with ESMTP id 2CE002DB675; Tue, 13 Nov 2007 12:42:05 -0500 (ECT) Received: from jupiter.espoltel.net ([127.0.0.1]) by localhost (jupiter.espoltel.net [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 36729-06; Tue, 13 Nov 2007 12:42:00 -0500 (ECT) Received: from [172.26.5.40] (unknown [69.65.149.194]) by jupiter.espoltel.net (Postfix) with ESMTP id B8F9C2DC1DE; Tue, 13 Nov 2007 12:42:00 -0500 (ECT) From: Marcelo Celleri To: Umar In-Reply-To: <13673552.post@talk.nabble.com> References: <13673552.post@talk.nabble.com> Content-Type: text/plain; charset=utf-8 Organization: ESPOLTEL Date: Tue, 13 Nov 2007 12:37:57 -0500 Message-Id: <1194975478.5295.7.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by Amavis-new and ClamaV at ESPOLTEL Cc: freebsd-pf@freebsd.org Subject: Re: VPN Routing X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: marceloc@espoltel.net List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2007 18:06:42 -0000 I assume that the configuration is for a tunnel between 2 servers, first you have to add the routes in both sides, and then allow the traffic from UDP port 1194. pass in on $ext_if proto udp from x.x.x.x/x port 1194 to y.y.y.y/y El vie, 09-11-2007 a las 11:30 -0800, Umar escribi=C3=B3: > Dear All! >=20 > I have installed openvpn on FreeBSD 6.2. >=20 > My Localnetwork is 192.168.1.0/24 > My VPN Network is 10.0.0.0/24 >=20 > Now I want my VPN Network also access my Local Network so please tell m= e how > i can do it with pf. >=20 > Regards, >=20 > Umar Draz --=20 ---------------------------------- Marcelo C=C3=A9lleri M. Jefe IP ESPOLTEL S.A. PBX 593 04 2514477 Ext. 114 ----------------------------------