client subnet servers cannot connect to vpn server network

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
linuxuser
OpenVpn Newbie
Posts: 1
Joined: Mon Dec 20, 2010 4:36 am

client subnet servers cannot connect to vpn server network

Post by linuxuser » Mon Dec 20, 2010 4:55 am

I have openvpn setup between my private datacenter (client) and amazon server (server). The setup is fine and the openvpn client server can connect to servers in openvpn server subnet.

I would like to use openvpn client server as the gateway for all servers in that subnet to connect to servers in openvpn server subnet. I have routes in place and I see the traffic reaching the openvpn client server but it does not seem to go through the tunnel but if I try to connect from the openvpn client server, it works fine.

Can anyone help me find what is wrong?

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: client subnet servers cannot connect to vpn server netwo

Post by krzee » Mon Dec 20, 2010 6:01 am

http://www.secure-computing.net/wiki/index.php/Graph

this can be solved by giving the target machine (or its gateway) a route back to the vpn (and/or client lan) subnet

Post Reply