Asuswrt-Merlin + OpenConnet

Fix OpenConnect not working in Asuswrt-Merlin

After you install the OpenConnect client and you're be able to connect to the your server. The most important thing is the VPN works on your router, but not your device. 

If you have same issue, try something below:

Open the /opt/lib/netifd/vpnc-script file, add the following line:


Start the openconnect, then run the following command:

iptables -t nat -A POSTROUTING -j MASQUERADE
route add -net netmask gw dev tun0

Replace with the IP address your received from your VPN server