Posted: Fri Aug 05, 2022 16:01 Post subject: OpenVPN server address too long for DD-WRT config field
I have a Linksys WRT3200 ACM with DD-WRT v3.0-r48432 std (03/01/22) installed.
I also have my own OpenVPN server in Digital Ocean (DO) to which I connect from the router and it works just fine. However DO IP address is in some black lists and many services (e.g. my online banking) refuse to work with it. So I decided to spin up another VPN server in AWS. The server (Amazon actually calls it AWS Client VPN endpoint) is up and running and I can connect to it using an OpenVPN Windows client from my laptop.
However AWS VPN server's address they provide looks like xxx.cvpn-endpoint-<some_letters_and_numbers>.prod.clientvpn.ca-central-1.amazonaws.com and this whole string simply does not fit into the corresponding field of DD-WRT web config.
Question: where does DD-WRT store this kind of settings? I suspect it is some config file and if I connect to the router via SSH, I can simply edit it and insert a longer string.
P.S. As an alternative solution, I tried setting up a redirect to the long AWS address from a short domain name that I own, and for some reason I could not connect like that even using the OpenVPN Win client. I see in its logs that the redirect does happen, it is talking to some IP that belongs to Amazon but it times out. Not sure if AWS does not like being redirected to or what.
Yep AWS always gives you super long domain names. And I cannot use the IP because it is different every time. I could get a static one from AWS but that costs extra money.
Anyways, your command helped, thank you! however the router still does not connect so I will open another topic for that 🙈
Joined: 18 Mar 2014 Posts: 12837 Location: Netherlands
Posted: Fri Aug 05, 2022 17:05 Post subject:
I use an Oracle cloud server (free) fixed IP address (but no guarantees)
I will contemplate allowing 96 characters
Please open another thread, post screenhot of OpenVPN settings page (including anything in Additional config), OpenVPN Status page (whole page) and output of:
grep -i openvpn /var/log/messages
cat /tmp/openvpncl/openvpn.conf