I can't get my head around this one.
I have installed OpenVPN on two Windows 7 laptops. As far as I can tell, they are identically configured, apart from the certificates and the client.ovpn files in the OpenVPN config directory.
In both cases, I can connect to the OpenVPN server running on my tomato-based router. However, in one case I can connect to the internet, and to other machines on my LAN using VNC and samba shares. In the other case, I can't do anything.
The VPN is configured in tun / routed mode.
I think it comes down to a routing problem with the non-working laptop. I've attached the annotated output from running "trace route" on both laptops. In both cases:
10.8.0.0: VPN subnet as configured on tomato
10.8.0.10: Address assigned by VPN to working laptop
10.8.0.14: Address assigned by VPN to non-working laptop
192.168.101.0: LAN subnet behind tomato router
On the working latop:
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
10.8.0.0 255.255.255.0 10.8.0.9 10.8.0.10 30
10.8.0.8 255.255.255.252 On-link 10.8.0.10 286
10.8.0.10 255.255.255.255 On-link 10.8.0.10 286
10.8.0.11 255.255.255.255 On-link 10.8.0.10 286
128.0.0.0 128.0.0.0 10.8.0.9 10.8.0.10 30
192.168.101.0 255.255.255.0 10.8.0.9 10.8.0.10 30
===========================================================================
Persistent Routes:
None
In this case, the gateway 10.8.0.9 is defined. From running ipconfig, this is the DHCP Server defined for the OpenVPN TAP-Windows Adapter. I thought that this was only needed for TAP server configurations. Further, why is this defined as the gateway, and not 10.8.0.1?
On the non-working PC:
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
10.8.0.12 255.255.255.252 On-link 10.8.0.14 286
10.8.0.14 255.255.255.255 On-link 10.8.0.14 286
10.8.0.15 255.255.255.255 On-link 10.8.0.14 286
===========================================================================
Persistent Routes:
None
In the case of the non-working PC, there is no entry for my LAN subnet which explains the non-connectivity. But there is also no entry for the 10.8.0.0 subnet.
Can anyone tell what is the problem?
Paul