Saturday, January 6, 2018
Script HMA startup script for routers
Script HMA startup script for routers
If your modem/router has the option to allow the execution of a custom startup script, you can use the following below to get Hidemyass configured.
Just add the whole script block to your startup script (adjust your userid/password and remote-address). You might also need to adjust the routing script (hidemyass-up.sh) to match your own network configs.
Just add the whole script block to your startup script (adjust your userid/password and remote-address). You might also need to adjust the routing script (hidemyass-up.sh) to match your own network configs.
Code:
cd /tmp
/usr/sbin/echo "client
dev tun
proto tcp
script-security 2 execve
ifconfig-noexec
up /tmp/hidemyass-up.sh
resolv-retry infinite
ping 5
ping-exit 30
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.