chrisB
Hi. This is a howto/can it be done post as I have been struggling for a day now and can't get it working.
I have a small microcontroller and two PCs. My goal is to connect the microcontroller to the ethernet port of one of the PCs, i.e. the vpn server and then access it from the other (client) PC over VPN.
OpenVPN is setup between the server and client and I am able to establish a connection and the client receives an IP address. If i configure dev tap then the ovpn server doesn't show an IP address but the client can still connect and get an IP. However the client can't see any IP on the server.
I also tried using dev tun, this way the server shows the correct IP but the client doesn't connect it looks like it needs routing setup as it fails on a routing test. I'm not sure if using tap or tun is best, I thought bridging the LAN and TAP interfaces on the server would be the simplest so I have spent most of my time struggling with this.
I do have suspicion that the problem could be the network bridge on the server PC. I can ping the microcontroller form the server but as soon as I bridge the ethernet and tap adapters it no longer responds. I have tried forcing promiscuous mode on the bridge and updated the IPEnableRouter setting in the registry but it makes no difference.
Does anyone have any suggestions for what the correct setup for this should be and where I am going wrong?
Thanks!