Recent content by dutuka

  1. D

    [SCRIPT] sh to check vpn client status and auto reconnect if disconnected

    This script can also work for another router, where exit code for connected state NOT 2 is #!/bin/sh if [ -z "$(pidof vpnclient1)" ] then service restart_vpnclient1 fi if [ -z "$(pidof vpnclient2)" ] then service restart_vpnclient2 fi if [ -z "$(pidof vpnclient3)" ] then service...
  2. D

    [SCRIPT] sh to check vpn client status and auto reconnect if disconnected

    I figure it out, this is my script. #!/bin/sh VPNclient1_Status=$(nvram get vpn_client1_state) if [ "$VPNclient1_Status" -ne 2 ] then service stop_vpnclient1 && sleep 3s && service start_vpnclient1 fi VPNclient2_Status=$(nvram get vpn_client2_state) if [ "$VPNclient2_Status" -ne 2 ] then...
  3. D

    [SCRIPT] sh to check vpn client status and auto reconnect if disconnected

    Hello community, my vpn service provider does not support keep alive in their setting, so i need another way to check if vpn client is connected and auto reconnect if it is disconnected, a sh script should do the job. The scipt should do something like this: nvram get vpn_client1_state...
  4. D

    No Internet after VPN Connection.

    I have the same problem, under WAN -> WAN DNS Setting -> Connect to DNS Server automatically (set to no), fill the IP adress of favorite DNS Server in DNS Server1/2 fields. After that Internet status is connected again while VPN Fusion is connected to a default VPN Server.
Back
Top