Connect a secondary VPN DD-WRT router to a non VPN router

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


Joined: 16 Sep 2021
Posts: 38

PostPosted: Sat Sep 25, 2021 21:19    Post subject: Reply with quote
OVPN file.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12835
Location: Netherlands

PostPosted: Sun Sep 26, 2021 6:08    Post subject: Reply with quote
The fact that you have troubles with the time points to a flaw in basic setup so i started with reviewing your basic setup.

From my earlier posting:
Quote:
Gateway and Local DNS should be set to the primary router (e.g. 192.168.1.1)


So please correct your Local DNS

The time IP server/name should be left to its default which is blank.

Correct this and reboot the router check if you have the correct time.

Will review the rest later

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


Joined: 16 Sep 2021
Posts: 38

PostPosted: Mon Sep 27, 2021 15:27    Post subject: Reply with quote
egc: Thanks. I did get a "CONNECTED SUCCESS" log entry, but the IP address is still my own when I checked browserleaks.com. On the setup page, I used the primary router 192.168.1.1 as the "Gateway" address. I looked at the primary router setup page and found three DNS addresses that were being used. I chose the second one and put it in as "Local DNS". I corrected the time. I removed that NTP website name and left that field blank. I read that there was a default site name built into DD-WRT. I rebooted, but the time did not save. I had to reset the time again. Is there a watch battery inside the R7800 that saves settings or is this done a different way? I will backup these settings and work with them and even try other OVPN files. Thanks for your time with this. I attached my latest log entry.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12835
Location: Netherlands

PostPosted: Mon Sep 27, 2021 15:53    Post subject: Reply with quote
Of course I do not know the setup of your primary router, but you usually set the Gateway and Local DN to the primary routers address.

Why not try that?

Perhaps an example will help.

Suppose the primary routers address is 192.168.1.1
Than you set the Gateway and Local DNS to 192.168.1.1

Reboot the router and see what syslog shows about ntp.

About the VPN, set first data cipher to:
AES-128-GCM
Second data cipher to:
AES-256-GCM
Third to:
AES-256-CBC

Remove everything from the Additional config only add:
verb 5

Seeing a Connected Success indicate you are on the right way and have a connection.

But your clients are not using the VPN as this is a WAP so either set the gateway on the client pointing to the WAP (i.e. use 192.168.1.2 as gateway) or setup a guest wifi on the WAP, clients connected to this will automatically use the VPN.

I attached my slightly outdated personal notes about how to setup a VAP on a WAP.
These are for Broadcom but it will give you an idea and you do not need a VAP workaround but you do need the firewall rule.

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


Joined: 16 Sep 2021
Posts: 38

PostPosted: Tue Sep 28, 2021 19:06    Post subject: Reply with quote
egc: I will work with this information. Thank you very much again.
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