Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2008 14:19:08 -0500
From:      Nicolas de Bari Embriz Garcia Rojas <nbari@htrap.com>
To:        freebsd-jail@freebsd.org
Subject:   routing
Message-ID:  <AE0FE480-723D-43D8-A734-7B74152ED812@htrap.com>

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





--
 > nbari








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AE0FE480-723D-43D8-A734-7B74152ED812>