I have setup a tunneling VPN between two machine. One end is 192.168.100.1 (server), the other end is (192.168.100.2). The network mask of the distant site is 192.168.123.255, ie the server has two network interfaces :
On linux, I have access to the 192.168.123.114 address if I do the following in the config file:
#ifconfig directive ifconfig 192.168.100.2 192.168.100.1 route 192.168.123.0 255.255.255.0 192.168.100.2
On Windows 7, the same config file, launched as administrator is also establishing the route according to openvpn log :
Tue Oct 12 09:24:16 2010 Peer Connection Initiated with xx.xx.xx.xx:yyyy Tue Oct 12 09:24:22 2010 TEST ROUTES: 1/1 succeeded len=1 ret=1 a=0 u/d=up Tue Oct 12 09:24:22 2010 C:\WINDOWS\system32\route.exe ADD 192.168.123.0 MASK 255.255.255.0 192.168.100.2 Tue Oct 12 09:24:22 2010 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4 Tue Oct 12 09:24:22 2010 Route addition via IPAPI succeeded [adaptive] Tue Oct 12 09:24:22 2010 Initialization Sequence Completed
But when I try to ping 192.168.132.114, it does not work, and if I try http://192.168.1123.114/ it does not work either, but it works with 192.168.100.1
How can I make the routing directive effective ?