From owner-freebsd-pf@FreeBSD.ORG Wed Apr 23 14:41:07 2008 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 C4C2A106567F for ; Wed, 23 Apr 2008 14:41:07 +0000 (UTC) (envelope-from nbari@k9.cx) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.186]) by mx1.freebsd.org (Postfix) with ESMTP id 7CD058FC1B for ; Wed, 23 Apr 2008 14:34:37 +0000 (UTC) (envelope-from nbari@k9.cx) Received: by mu-out-0910.google.com with SMTP id w9so2435248mue.3 for ; Wed, 23 Apr 2008 07:33:49 -0700 (PDT) Received: by 10.82.152.9 with SMTP id z9mr1048688bud.79.1208959716052; Wed, 23 Apr 2008 07:08:36 -0700 (PDT) Received: from ?10.50.46.71? ( [213.58.102.135]) by mx.google.com with ESMTPS id y2sm387149mug.9.2008.04.23.07.08.32 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 23 Apr 2008 07:08:35 -0700 (PDT) Message-Id: <16FDBBA6-0039-4579-B13B-B7EB3DDF06F8@k9.cx> From: Nicolas de Bari Embriz Garcia Rojas To: freebsd-pf@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 23 Apr 2008 09:03:19 -0500 X-Mailer: Apple Mail (2.919.2) Subject: routing X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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: Wed, 23 Apr 2008 14:41:07 -0000 I have a ipsec/vpn on FreeBSD 6.3 from one master server to another server the one has multiple jails. each jail has is own public IP and i need to do something like this: vpn point >----------------------< master server with jails <-------> jail (75.76.78.80) 64.68.69.79/10.10.10.1 75.76.78.79/10.10.10.2 when doing a telnet to 10.10.10.2 80 from 10.10.10.1 I want that the jail with ip 75.76.78.80 to respond, and also from jail 75.76.78.80 been available to telnet the other vpn point 10.10.10.1. I am trying to route trafic using PF but is not working for the tunel only for the non encrypted trafic, example: rdr on em1 proto tcp from any to any port 80 -> 75.76.78.80 but if i use the gif0 interface (the one for the tunnel) insted of em1 does not work. Any ideas ? -- > nbari