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 <------->
when doing a telnet to 10.10.10.2 80 from 10.10.10.1 I want that the
jail with ip 126.96.36.199 to respond, and also from jail 188.8.131.52
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 -> 184.108.40.206
but if i use the gif0 interface (the one for the tunnel) insted of em1
does not work.
Any ideas ?