Now that I have it working there are 3 things that I have not yet figured out - and have not been able to Google either:
1. When the subnet I'm on is the same as for the machine I establish the VPN connection with (e.g. 10.0.0.x), this seems to create problems in Windows. While wanting to access the modem on the VPN network, it points me to the (same) modem on the local network as they have identical IP addresses (e.g. 10.0.0.1). Is this normal behaviour?
2. After establishing a VPN connection I can map a network drive to my Windows PC. I can also browse the contents on the network drive and delete files etc. When trying to upload files, even small ones (0.5MB) I get the error message "Cannot copy .... Network drive no longer available" although I can still see the drive. Is there anything I can do to prevent this?
Thanks in advance!
Hi,
Just a couple notes on this:
Problems #1 and #2 are most definitely related. When you're making a virtual network connection, (which is exactly whan OVPN is doing), you can't make a connection to a network you're already a part of. The routing tables won't jive, and it won't work. Even if it says it's connected... it's lying. At the very least, you need to be trying from an entirely different subnet. And, more importantly.. the numbering of the two internal subnets MUST be different.
For example... let's say you're testing from home.
Home Network (private subnet): 10.0.0.x subnet
Office Network (private subnet): 10.0.0.x subnet
It won't work. One of those must be different. Honestly, a home network should never need to be on a 10.0.0.x subnet... no home network needs that many addresses. You can get by with a 192.168.x.x subnet, or, if you want to be different..and have almost as many addresses available as the office, use a 11.0.0.x subnet. The point is, it has to be different, so that your routing tables (which windows builds automatically, with help from the OVPN sw) can actually be done correctly. When you connect to the OVPN, it creates an entry which says "if you're going to address 10.0.0.x, then route through this tunnel / bridge we created. All others, go this way" Problem is.. if the virtual and real subnets are the same number, it gets confused.
Don't confuse windows.. it has a hard enough time as it is
