OpenVPN on access point

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


Joined: 08 Feb 2007
Posts: 15

PostPosted: Fri May 13, 2022 17:13    Post subject: OpenVPN on access point Reply with quote
This is dd-wrt setup as an access point. Yes I searched Smile. It's possible I didn't know what I was searching for lol.

Router: Asus RT-AC68U
Firmware: DD-WRT v3.0-r44715 std (11/03/20)

I upgraded my phone to Android 12 and lost the ability to use PPTP. I set up OpenVPN on my router and can connect fine but I can't get to my network or the internet. I know this is because I'm using a lan port instead of the wan port so, obviously the command to update the iptables to use the wan doesn't work. Is there a way to route the VPN through the lan port? Specifically port 1. Thanks for any help.

Edit:

For anyone else that happens upon this. I've tried the following with no luck.

Code:

iptables -t nat -I POSTROUTING -o br0 -s $(nvram get openvpn_net)/$(nvram get openvpn_tunmask) -j MASQUERADE


Last edited by foltz61 on Fri May 13, 2022 18:28; edited 2 times in total
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 9585
Location: Netherlands

PostPosted: Fri May 13, 2022 17:47    Post subject: Reply with quote
Start with telling us your router model and build number.

See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

Are you referring to setting up an OpenVPN server on the WAP?

If so the documentation has a paragraph about that.

A lot of relevant information is a sticky in this forum:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327398

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), 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
foltz61
DD-WRT Novice


Joined: 08 Feb 2007
Posts: 15

PostPosted: Fri May 13, 2022 17:50    Post subject: Reply with quote
Sorry about that. This build is the last one my router supports.

Router: Asus RT-AC68U
Firmware: DD-WRT v3.0-r44715 std (11/03/20)

Not sure what what I want is called.

Fios Router
^
^
DD-WRT Access Point connected lan to lan
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 9585
Location: Netherlands

PostPosted: Fri May 13, 2022 18:01    Post subject: Reply with quote
That is a really old and outdated build Sad

See the forum guidelines, link in my previous post.

Consider upgrading and *after* upgrade reset to defaults and put settings in manually never restore from a backup (to a different build)

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), 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
foltz61
DD-WRT Novice


Joined: 08 Feb 2007
Posts: 15

PostPosted: Fri May 13, 2022 18:19    Post subject: Reply with quote
Unfortunately that's the last build that supports my router. I'm going through the troubleshooting. So far, no go. Thanks for the link though.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 9585
Location: Netherlands

PostPosted: Fri May 13, 2022 18:26    Post subject: Reply with quote
foltz61 wrote:
Unfortunately that's the last build that supports my router. I'm going through the troubleshooting. So far, no go. Thanks for the link though.


No it is not.

Please read the forum guidelines.

The last build for your router is 48865.

I am running it as we speak

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), 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
foltz61
DD-WRT Novice


Joined: 08 Feb 2007
Posts: 15

PostPosted: Fri May 13, 2022 18:39    Post subject: Reply with quote
Not according to the router page.

[url]
https://dd-wrt.com/support/router-database/?model=RT-AC68P%20(AC1900)_-[/url]
foltz61
DD-WRT Novice


Joined: 08 Feb 2007
Posts: 15

PostPosted: Fri May 13, 2022 18:46    Post subject: Reply with quote
Found new in forums. Thanks
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 9585
Location: Netherlands

PostPosted: Fri May 13, 2022 18:51    Post subject: Reply with quote
foltz61 wrote:
Not according to the router page.

[url]
https://dd-wrt.com/support/router-database/?model=RT-AC68P%20(AC1900)_-[/url]


There is a DISCLAIMER on that page but I know it can be confusing.

The forum guidelines are the ones you should follow
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), 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
foltz61
DD-WRT Novice


Joined: 08 Feb 2007
Posts: 15

PostPosted: Fri May 13, 2022 19:05    Post subject: Reply with quote
The new firmware and enabling " Allow Clients full LAN access" has allowed me to connect to some lan devices but not my nas for some reason. Also no internet through VPN. One step closer so I'll keep researching. Thanks for your help.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 9585
Location: Netherlands

PostPosted: Fri May 13, 2022 19:14    Post subject: Reply with quote
The openvpn server setup guide should get you going:

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

But if you have questions feel free to ask.
Post screenshot of OpenVPN setup and status page. When you have questions

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), 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
foltz61
DD-WRT Novice


Joined: 08 Feb 2007
Posts: 15

PostPosted: Sun May 15, 2022 13:08    Post subject: Reply with quote
Found that if I connect through wifi (from somewhere else obviously) internet works and shows I'm connected through my home internet on whatsmyip. If I connect over cell data there's no internet.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 9585
Location: Netherlands

PostPosted: Sun May 15, 2022 17:18    Post subject: Reply with quote
Without knowing your settings and seeing the server and client logs just a long shot:
DNS problems?

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), 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 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