OpenVPN routing issue


I have set up OpenVPN on two Windows 2003 server called X et Y.
Server X is defined as OpenVPN client and belong to network Server X IP is
Server Y is defined as OpenVPN server and belong to network Server Y IP is

VPN IP address for Server X (client) is VPN IP address for Server Y is

The tunnel is up. I can ping both VPN IP addresses as well as Server X and Server Y IP addresses.

From a PC ( in network, I can ping Server X (OpenVPN client). But I cannot from Server X ping

On the Server Y (OpenVPN server) I have enabled the IPEnableRouter registry.

Windows Firewalls are desactivated.

Any help will be appreciated...
OpenVPN client:
dev tun
dh dh1024.pem
ca ca.crt
cert client.crt
key clientkey
OpenVPN server
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem

Open in new window

Who is Participating?
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
No, the routing interface on Server X is used to determine the source IP address, as that server has more than one (virtual) NIC, and the route into the other network is fixed to the address (by route). That is quite normal that way. If you use a PC on the X network, it will work without that static route.

If this is a problem and you want to propagate full two-side access from servers into network you will have to set the route above on both your default gateways. That way you won't have to define the route on each client.
slimardAuthor Commented:
I solved the issue by adding a static route on the PC ( --> route add mask

What I don't understand, is that the source should have been and not
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.