Can connect to openvpn server but no internet or lan servers

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page Previous  1, 2
Author Message
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12906
Location: Netherlands

PostPosted: Thu May 06, 2021 8:00    Post subject: Reply with quote
Good catch from @mrjcd.

The problem seems not the OpenVPN server setup but your network setup.

If this OpenVPN router is connected with its WAN to your primary router then the subnet has to be different i.e. it should be 192.168.2.1

The static WAN is wrong, the default gateway and local DNS are wrong and who know what else is wrong.

My advice: reset the router to defaults.

After resetting connect to the router with a cable, reboot your client and you can find the router at 192.168.1.1.

After logging in, change the local IP address from 192.168.1.1 to 192.168.2.1
Save/Apply
Do not change anything else

After that reboot your client and you can reach the router at 192.168.2.1

Check if you have internet connection, setup wireless if you want to (check if it has a password set).

Alternatively consider setting the router up as a WAP:
https://wiki.dd-wrt.com/wiki/index.php/Wireless_access_point

Only after you setup the router correctly, setup the OpenVPN server according to the instructions from the guide.
If you decided to setup a WAP there is also a paragraph dedicated to running an OpenVPN server on a WAP

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Sponsor
Barcs2002
DD-WRT Novice


Joined: 05 May 2021
Posts: 9

PostPosted: Thu May 06, 2021 10:26    Post subject: Reply with quote
Ok thanks very much for your help both, disabling WAN and turning it into an AP solved the problem!
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum