Posted: Sun Sep 05, 2021 7:11 Post subject: Help with OpenVPN server
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
Joined: 12 Dec 2007 Posts: 782 Location: Pittsburgh, PA USA
Posted: Mon Sep 06, 2021 3:13 Post subject:
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"
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?
Joined: 12 Dec 2007 Posts: 782 Location: Pittsburgh, PA USA
Posted: Mon Sep 06, 2021 15:53 Post subject:
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
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.
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?
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).