Help with OpenVPN server

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Goto page 1, 2  Next
Author Message
LogicalUnit
DD-WRT Novice


Joined: 18 Apr 2015
Posts: 32

PostPosted: Sun Sep 05, 2021 7:11    Post subject: Help with OpenVPN server Reply with quote
Hi everyone,

I have a Linksys WRT1900AC that I bought pre-flashed with DD-WRT v3.0-r40559. Everything is set up and working. I have internet over the WAN interface, and my home network and wifi are on the 192.168.1.0/24 address space.

I would like to be able to dial into my home network so I can access its resources over the internet. I found a guide on YouTube on how to configure OpenVPN server on DD-WRT.

I successfully followed the guide, and I can connect to the OpenVPN server running on my router. However, I cannot ping any of the devices on my LAN (192.168.1.x) nor can I ping the router on its VPN interface (10.8.0.1)

Here is the YT guide I followed, which closely follows the instructions below

https://youtu.be/dwrR18_xO_Q
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795

Any help on this would be appreciated.

PS Can you also please help me identify the hardware revision of my router? CPU is Marvell Armada 370/XP. Thanks.
Sponsor
Fritzbuf
DD-WRT User


Joined: 22 Feb 2014
Posts: 156
Location: Germany

PostPosted: Sun Sep 05, 2021 7:48    Post subject: Reply with quote
https://www.wireguard.com/

Tip:
use wireguard, thats also included in dd-wrt, this Server work perfect and its fast ! Try it Wink

best regards

_________________
Buffalo WZR-HP-AG300H
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Sun Sep 05, 2021 7:57    Post subject: Reply with quote
"Model No." bottom label, upper right. WRT1900AC is V1. Four variants are AC(V1), AC V2, ACS(V1), ACS V2.

No other label location is reliable. Ignore FCC ID, also ignore the front facing router label. Do not use r40559.

See builds from past week or so, most likely r47256 or r47282. A well known Marvell fallback build is r44048.

After successful upgrade & reboot consider manually reconfiguring from scratch, so many changes past year.

Marvell hardware reset is hold 10 seconds and alternate reset nvram erase && reboot, backup clean configs.

Forum guidelines -> Wiki Main Page, Installation, FAQ, Tutorials, OpenVPN guides egc, WireGuard guides egc
dpp3530
DD-WRT Guru


Joined: 12 Dec 2007
Posts: 764
Location: Pittsburgh, PA USA

PostPosted: Mon Sep 06, 2021 3:13    Post subject: Reply with quote
Thought this might come in handy for you. This is the configuration I use. Note that my local LAN is 192.168.6.0/24. This has been working great for me for years now.

Additional Config:
Code:
push "route 192.168.6.0 255.255.255.0"
push "dhcp-option DNS 192.168.6.1"

_________________
__________________________
Netgear R7800
DD-WRT v3.0 STD
Linksys WRT1900AC
DD-WRT v3.0 STD
LogicalUnit
DD-WRT Novice


Joined: 18 Apr 2015
Posts: 32

PostPosted: Mon Sep 06, 2021 10:13    Post subject: Reply with quote
dpp3530 wrote:
Thought this might come in handy for you. This is the configuration I use. Note that my local LAN is 192.168.6.0/24. This has been working great for me for years now.

Additional Config:
Code:
push "route 192.168.6.0 255.255.255.0"
push "dhcp-option DNS 192.168.6.1"


Hi, thanks for this advice. Are these commands to run on the router, or lines to add to a config file?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Mon Sep 06, 2021 10:33    Post subject: Reply with quote
Openvpn Server Setup guide see link in my signature at the bottom
_________________
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
dpp3530
DD-WRT Guru


Joined: 12 Dec 2007
Posts: 764
Location: Pittsburgh, PA USA

PostPosted: Mon Sep 06, 2021 15:53    Post subject: Reply with quote
LogicalUnit wrote:
Hi, thanks for this advice. Are these commands to run on the router, or lines to add to a config file?


These lines go in "Additional Config" field in the VPN tab. Note that you should replace 192.168.6.0 and 192.168.6.1 with your local subnet and router IP, respectively.

The first command pushes a route to the client directing traffic going to your LAN IPs through the tunnel. The second
command to use your router as a DNS server. Without this, you can't resolve local names on your network.

I can regularly access a couple of file shares and a laser printer on my network when connected from somewhere like a hotel or airport.

_________________
__________________________
Netgear R7800
DD-WRT v3.0 STD
Linksys WRT1900AC
DD-WRT v3.0 STD
LogicalUnit
DD-WRT Novice


Joined: 18 Apr 2015
Posts: 32

PostPosted: Wed Sep 08, 2021 4:06    Post subject: Reply with quote
Thanks to everyone for the assistance. Unfortunately I still can't get any traffic to flow over the VPN. Here is a screenshot showing the server and the client connected to it. But I get no reply when I ping the 10.8.0.1 address.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14126
Location: Texas, USA

PostPosted: Wed Sep 08, 2021 4:46    Post subject: Reply with quote
Because you're using an old, broken build for VPN. You were prompted to upgrade already.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Wed Sep 08, 2021 8:52    Post subject: Reply with quote
Two new builds released since my last post, also a third not mentioned previously due to lack of user reports.
LogicalUnit
DD-WRT Novice


Joined: 18 Apr 2015
Posts: 32

PostPosted: Wed Sep 08, 2021 12:37    Post subject: Reply with quote
Yep, I see it now. Specifically told not to use r40559. I will upgrade my firmware.
LogicalUnit
DD-WRT Novice


Joined: 18 Apr 2015
Posts: 32

PostPosted: Fri Oct 22, 2021 9:37    Post subject: Reply with quote
Hi, so I never got around to upgrading my firmware. I bought my router pre-flashed and haven't done this before. Can someone point me in the direction of instructions for doing this? I'm comfortable with the Linux command line, and also setting up wifi, network configuration, etc. but is there anything I should be aware of before I start?

Thanks, appreciate it.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14126
Location: Texas, USA

PostPosted: Fri Oct 22, 2021 14:20    Post subject: Reply with quote
Sticky: DD-WRT Installation, Upgrade & Basic Setup–Cliff Notes

Current release is 47581. We still are not 100% sure which version of WRT1900AC* you have. Please choose the correct webflash.bin for upgrading via Administration -> Firmware Upgrade or via CLI (see installation wiki link in my sig for that if not in the previously linked sticky).

ACv1: https://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2021/10-20-2021-r47581/linksys-wrt1900ac/

ACv2: https://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2021/10-20-2021-r47581/linksys-wrt1900acv2/

ACSv1: https://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2021/10-20-2021-r47581/linksys-wrt1900acs/

ACSv2: https://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2021/10-20-2021-r47581/linksys-wrt1900acsv2/

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
LogicalUnit
DD-WRT Novice


Joined: 18 Apr 2015
Posts: 32

PostPosted: Fri Oct 22, 2021 23:34    Post subject: Reply with quote
Here's a snapshot of the bottom of my device. I think it's ACv1?
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14126
Location: Texas, USA

PostPosted: Sat Oct 23, 2021 0:39    Post subject: Reply with quote
Correct.

https://wiki.terrabase.info/wiki/Linksys_WRT1200AC,_WRT1900AC,_WRT1900ACS,_and_WRT3200ACM_Purchasing_Information

https://openwrt.org/toh/linksys/wrt1900ac

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) 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