Here is how to test your OpenVPN on the same network (local network) as your VPN server.
Change the remote line to point to the local private IP of your OpenVPN server, now you can connect to the vpn server while sitting on the same subnet.
For example your remote connection is MYDNS.dyndns.org, change this to point to the actual IP of the device on the network ex 192.168.1.100(If your OpenVPN server is your router, it will be the address of the router 192.168.1.1 or 192.168.0.1, etc.
In the image above I added a second remote line and commented out the first one by using a # sign, when I want to revert back I can just comment out the local remote line and uncomment the dynamic dns one.
Change the remote line to point to the local private IP of your OpenVPN server, now you can connect to the vpn server while sitting on the same subnet.
For example your remote connection is MYDNS.dyndns.org, change this to point to the actual IP of the device on the network ex 192.168.1.100(If your OpenVPN server is your router, it will be the address of the router 192.168.1.1 or 192.168.0.1, etc.
In the image above I added a second remote line and commented out the first one by using a # sign, when I want to revert back I can just comment out the local remote line and uncomment the dynamic dns one.
No comments:
Post a Comment
Thanks for your input.