private subnet nat (openvpn / racoon)
Posted
by
Jonas Schnelli
on Server Fault
See other posts from Server Fault
or by Jonas Schnelli
Published on 2012-04-03T09:59:37Z
Indexed on
2012/04/03
11:33 UTC
Read the original article
Hit count: 243
I have a openvpn subnet 10.8.0.0/24 running one server and one client (laptop). openvpn works fine. Browsing the web over openvpn from the laptop works also fine.
Now on the server there is a private subnet with 10.7.8.128/28. The subnet is set up with racoon (IPSEC s2s vpn). The s2s vpn allows me to access the subnet 10.3.5.0/24 at the other s2s vpn end. Works all fine when I'm connected with ssh to my server.
From my laptop i can ping 10.7.8.129 (the servers ipsec local ip) but i cannot reach the net 10.3.5.0/24.
I tried to add a static route on my laptop 10.3.5.0/24 over gw 10.7.8.129 with no success.
Any ideas how i do setup the nat / routing?
Thanks
© Server Fault or respective owner