SOLUTION: ASUSWRT Merlin OpenVPN Client Settings
I finally got the correct settings on my ASUSWRT Merlin Router to fix errors such as:
Authenticate/Decrypt packet error: cipher final failed
SIGUSR1[soft,decryption-error] received, process restarting
Authenticate/Decrypt packet error: packet HMAC authentication failed
First I uploaded the ovpn file, then changes the settings to this:
Basic Settings
Start with WAN: Yes
Interface Type: TUN
Protocol: UDP
Server Address and Port: (actual IP address, not the domain) Port: 1198
Firewall: Auto
Authorization Mode: TLS (Click "Content modification of Keys & Certificates" to add the CA)
Username/Password Authentication: Yes
Username: your user
Password: your pass
Password: your pass
Username / Password Auth. Only: No
TLS control channel security (tls-auth / tls-crypt): Disabled
Auth digest: SHA 1
Create NAT on tunnel: Yes
Advanced Settings
Global Log verbosity: 1
Poll Interval: 0
Accept DNS Configuration: Disabled
Cipher Negotiation: Enable with fallback
Negotiable ciphers: AES-128-CBC:AES-256-CBC
Legacy/fallback cipher: AES-128-CBC
Compression: LZO Adaptive
TLS Renegotiation Time: -1
Connection Retry: -1
Verify Server Certificate: No
Redirect Internet traffic: Policy Rules (for my XBONE)
Block routed clients if tunnel goes down: Yes
Custom Config
Custom Config
tls-client
remote-cert-tls server
reneg-sec 0
disable-occ
cipher aes-128-cbc
auth sha1
nobind
persist-key
persist-tun
I hope this helps someone!
I hope this helps someone!
Comments
****Edit****
The tests on the site show that I'm still exposed - DNS leak, check my IP, email IPleak fail. Are you seeing this too? Service is still connected though.
I also cross referenced with this https://helpdesk.privateinternetaccess.com/hc/en-us/articles/227852327-Setting-up-an-Asus-Router-running-Merlin-Firmware
Can anyone tell me where to find the cert files needed for this?
When you unzip the file it will contain the .crt and .pem files. The .crt is your certificate file.
Why woudl you want to do that?
This link is not working for me.
I have an AC-5300 and have followed the instructions listed above. The router says I am connected to the vpn, however my ip does not change and the PIA website says I am not protected as well. Any ideas?
Make sure that if you enable Policy Rules, you really intend to use policy-based routing. If you're setting up the VPN for general-purpose use and you intend to cover your whole network, enabling policy rules will cause your IP to be unmasked, since the client requires that rules be added to route client traffic through the tunnel.
In general, you should leave this setting on "None" to be sure your IP is masked.