Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2008 09:03:19 -0500
From:      Nicolas de Bari Embriz Garcia Rojas <nbari@k9.cx>
To:        freebsd-pf@freebsd.org
Subject:   routing
Message-ID:  <16FDBBA6-0039-4579-B13B-B7EB3DDF06F8@k9.cx>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16FDBBA6-0039-4579-B13B-B7EB3DDF06F8>