Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2008 14:18:48 -0500
From:      Nicolas de Bari Embriz Garcia Rojas <nbari@k9.cx>
To:        freebsd-jail@freebsd.org
Subject:   routing
Message-ID:  <695A90A5-CB7E-4C5A-AA6C-C4EB148FF320@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?695A90A5-CB7E-4C5A-AA6C-C4EB148FF320>