Setting up DD-WRT OpenVPN client.
I've read many users have trouble setting up the OpenVPN client on some DD-WRT flashed routers. There are DD-WRT builds that lack the ADVANCED OPTIONS button, here's my solution:
1- Go to SETUP - BASIC SETUP - NETWORK ADDRESS SERVER SETTINGS (DHCP)
Set Static DNS 1 to: 184.108.40.206
Set Static DNS 2 to: 220.127.116.11
or any other DNS servers you want.
2- Set TIME SETTINGS to match your current location.
Click SAVE - Click APPLY SETTINGS
3- Go to SERVICES - VPN
Enable OpenVPN Server (Just click the enable button, do nothing else). This step you can skip. It only serves the purpose of enabling OPENVPN STATUS so that you can see the current state and log of PIA OPENVPN CLIENT.
Click APPLY SETTINGS
4- Go to ADMINISTRATION - COMMANDS
Copy - Paste the text from link below to commands, don't forget to edit Your_PIA_Username and Your_PIA_Password with your own credentials, if you want you can change the remote regional-gateway (us-west...) too:
Click SAVE STARTUP
5- Go to ADMINISTRATION - MANAGEMENT
Click REBOOT ROUTER
6- That should do it, from now on every device that gets a IP address from your router will go through PIA's VPN tunnel.
As you can see, we did nothing to the OpenVPN client in SERVICES - VPN. The script takes care of that for us.
Post edited by p999999 on