How to Install OpenVPN on Linksys WRT1900AC

HI all,

Instead of using a paid VPN service, I'd like to install OpenVPN on my Linksys WRT1900AC. My problem is - in reading the write-ups for both "OpenVPN server" and "OpenVPN client", I'm not sure where I should insert my own parameters.

I'm on Windows 10, so I'm using PuTTY.

Any help would be greatly appreciated.

Note that you must have a public IP address to be able to connect to your VPN server from the internet.

The wiki how-tos for OpenVPN and WireGuard rely on the OpenWrt defaults and supposed to work out of the box mostly using just copy-paste.

WireGuard is preferable for better performance and easier configuration.

1 Like

Thank you for the quick response vgaetera. I'm with AT&T, so, yes, I do have a public IP address.I have never heard of WireGuard until I read your post. Does it work pretty much the same as PuTTY?

1 Like

WireGuard is a modern VPN protocol, a better alternative to OpenVPN:
https://openwrt.org/docs/guide-user/services/vpn/wireguard/start

And you don't really need PuTTY nowadays:
https://openwrt.org/docs/guide-quick-start/sshadministration#windows_10_built-in_terminals

Sounds like it's easier. I will give it a try. Will let you know if I have any questions. Thank you vgaetera.

1 Like

Installed Wireguard. However, the WG protocol in router "Interface" is not sending or receiving signals:

image

Perhaps my public key isn't correct (the Wireguard folder shows 3 Private Keys, albeit the details show it to be a Public Key:

image

Make sure you have properly exchanged the keys and opened the firewall port.

Alternatively, you can use a scripted approach to set up a WireGuard server and generate client profiles, which can be easily imported on mobile and desktop clients.

Spent about 2 hours configuring to no avail. I guess it's time to throw in the towel and surrender. Thank you vgaetera for all your guidance. I wish I was a better learner.

1 Like