*New 11.4 series Release:
2020-07-03: XigmaNAS - released!

*New 12.1 series Release:
2020-04-17: XigmaNAS - released

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

VPN Service Settings on Router using Asuswrt-Merlin

Transmission bittorrent server.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Posts: 4
Joined: 20 Sep 2013 13:49
Status: Offline

VPN Service Settings on Router using Asuswrt-Merlin


Post by ben09in »

I have recently signed up for VPN service through Private Internet Access (PIA), and I am able to successfully browse/download using their Windows client software, with minimal drop in speeds (1.9Mbs dropped to 1.7Mbs). I am interested in setting up the VPN settings on the RT-N66U, once the Asuswrt-Merlin firmware has been flashed on the router. I am new to VPN but appreciate the wealth of information the forum contributors offer, so I wanted to see if the DD-WRT settings provided by the VPN service company would apply to the Asuswrt-Merlin build as well:


1. In DD-WRT, access the VPN tab found under the Services section.
2. Enable the PPTP Client.
3. Set the Server IP or DNS Name to us-midwest.privateinternetaccess.com.
4. Set the MPPE Encryption to mppe required,no40,no56,stateless.
5. Enable NAT.
6. Enter your User name and Password.
7. If these steps do not work, please setup PPTP in the WAN section instead.


1. Access the Administration area and then go to Commands and finally Startup.
2. Enter the following:

echo username >> /tmp/password.txt
echo password >> /tmp/password.txt
/usr/bin/killall openvpn
/usr/sbin/openvpn --config /tmp/openvpncl/openvpn.conf --route-up /tmp/openvpncl/route-up.sh --down-pre /tmp/openvpncl/route-down.sh --daemon

3. Access the VPN tab found under the Services section.
4. Enable the OpenVPN Client.
5. Set the Server IP/name to us-midwest.privateinternetaccess.com[*].
6. Set the Port to 1194.
7. Set the Tunnel Device to TUN.
8. Set the Tunnel Protocol to UDP.
9. Set the Encryption Cipher to Blowfish CBC (Default).
10. Set the Hash Algorithm to SHA1.
11. Set the nsCertType to unchecked.
12. Set the Advanced Options to Enabled.
13. Set Use LZO Compression to Enable.
14. Set NAT to Enable.
15. In the Additional Config enter the following:

auth-user-pass /tmp/password.txt
remote-cert-tls server

16. Copy and paste the contents of ca.crt found in our OpenVPN Config Files, into the CA cert field.

Would these settings and instructions work on the Asuswrt-Merlin build to enable either PPTP or OpenVPN on the RT-N66U router? I will have several mobile Android and iOS devices and a Macbook that will also need to connect to the router.

Thanks in advance!

Posts: 3
Joined: 11 Dec 2013 18:56
Status: Offline

Re: VPN Service Settings on Router using Asuswrt-Merlin


Post by hongnagtl1 »

Asuswrt-Merlin (and Tomato)'s OpenVPN is better integrated with the webui than DD-WRT. You should not need any custom script.

Look at the webui on the OpenVPN Client page, and simply set the settings there where appropriate. There is also a field there to enter the username and password - no need to store them into a file like they have to do on DD-WRT.

Only OpenVPN is supported. There is no PPTP VPN client in the firmware.

vpn service

Post Reply

Return to “BitTorrent”