OpenVPN server not starting

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
NetJackACDC
DD-WRT Novice


Joined: 24 Apr 2022
Posts: 12

PostPosted: Thu May 19, 2022 11:44    Post subject: OpenVPN server not starting Reply with quote
I have an OpenVPN server and client active on the same router and the server is not working but the client is. I followed the guide exactly and put the keys/certs in the proper boxes. I don't get a log for the server but do for the client. No IP is listed for the server in the routing table. I have PBR enabled on the client side. I am using the 48810 build of DD-WRT.
Sponsor
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Thu May 19, 2022 15:36    Post subject: Reply with quote
Please post your setup screenshots for relevant portions and upgrade dd-wrt to latest fw 48897, old releases are not supported.

Also state what router and model + version are you using.

Thanks.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Fri May 20, 2022 6:40    Post subject: Reply with quote
To troubleshoot disable the OpenVPN client (your settigns are retained).

If the Status page does not show CONNECTED SUCCESS then open VPN server is not started due to a configuration error, usually something wrong with the keys.

From the CLI (telnet/Putty) the following command might give some clue:
Code:
grep -i openvpn /var/log/messages


OpenVPN documentation:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327398

_________________
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
NetJackACDC
DD-WRT Novice


Joined: 24 Apr 2022
Posts: 12

PostPosted: Fri May 20, 2022 23:37    Post subject: Reply with quote
OK I figured it out. I used an easyrsa version that wasn't packaged with openvpn.

If I use OpenVPN Connect it is not using the VPN. It shows the mobile carrier's IP. OpenVPN for Android works fine. Is there a way to get connect to perform correctly or should I just not use it?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat May 21, 2022 6:38    Post subject: Reply with quote
I have no problem using the OpenVPN Connect app for Android, although I prefer the app from Arne Schwab.

Have a look a the OpenVPN server setup guide:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327398

_________________
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
NetJackACDC
DD-WRT Novice


Joined: 24 Apr 2022
Posts: 12

PostPosted: Sat May 21, 2022 10:29    Post subject: Reply with quote
I use the same cfg/crt/keys for both and Arne Schwab's works but connect shows the mobile carrier's IP even though it is connected to my router as I can see the connection. Very strange. Connect isn't configurable enough so I can't see if it is routing everything through the VPN. I'll just use Schwab's for now.
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Sat May 21, 2022 10:41    Post subject: Reply with quote
Since Ive been ignored so far, Ill leave it in the capable hands of egc.
_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sun May 22, 2022 13:24    Post subject: Reply with quote
NetJackACDC wrote:
I use the same cfg/crt/keys for both and Arne Schwab's works but connect shows the mobile carrier's IP even though it is connected to my router as I can see the connection. Very strange. Connect isn't configurable enough so I can't see if it is routing everything through the VPN. I'll just use Schwab's for now.


Perhaps the openvpn server is not pushing default routes.
Check the openvpn server setup guide.

_________________
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
Display posts from previous:    Page 1 of 1
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