Hi
here is a setup guide for VPN with Merlin and PIA
http://www.thinhammer.com/index.php...-vpn-client-using-private-internet-access-pia
You need to change a couple of options from that illustration as follows;
accept dns configuartions input "Strict"
encryption chipper "BF-CBC"
Username / Password Auth. Only "YES"
and for custom configurations at the bottom use the following;
tls-client
remote-cert-tls server
reneg-sec 0
verb 3
also you have to put the .crt from PIA in
Authorization Mode
Content modification of Keys & Certificates. and paste it in the second box
Certificate Authority
You can setup to have up to 5 VPN and local your local isp and route the internet from whatever services you want and
will also drop any connections if your VPN goes down so you don't show your IP when the VPN goes down.
Here is the way to do it.
Setup a VPN and make sure it works.
Use Redirect Internet traffic to policy rules in the VPN section at the bottom.
setup Source IP with each device that you want connected to the VPN.
for example you can reserve 192.168.1.90 and destination ip 0.0.0.0 and lface VPN
also enable Block routed clients if tunnel goes down.
You can create as many ip address as you like to go via that vpn service.
So when you change your ip on your device to one of the reserved IP address's example 192.168.1.90 it will surf via VPN
You can simply add ip address's that you want to reserve for that specific VPN
so you can do this. 192.168.1.91, 192.168.1.92 etc
each IP is reserved for that specific VPN service. the great thing is that if the VPN goes down the firewall kicks in and stops traffic until the vpn re establishes this is why VPN on a router is better then software.
If you take the above example you can do the same for each VPN up to 5
example setup VPN 1 for canada. VPN 2 for NY, VPN 3 for europe etc.
For VPN 2 you can use ip range example 192.168.1.79 and on. Just make sure you don't use the same ip address on each vpn service you have.
by putting IP address's that are reserved for each VPN you can change ip address on your device according to the VPN you specified by the IP rules and switch from one to the other.
You can also create scripts that you can run on your PC or MAC to switch between IP address that corresponds to different VPN servers or your Local ISP
Go to this site
https://github.com/RMerl/asuswrt-me...ver-VPN-and-Drop-connections-if-VPN-goes-down
look at the bottom
VPN or Local ISP batch file for Windows this will show you how to create batch files to jump from one VPN to another.
also those scripts in that url are useless. you are better off using the vpn with ip tables from the firmware instead of creating scripts that run in the background with firewall. They mess up the QOS.
hope that helps you out
