tforticlient

Auto connect to a VPN server with encrypted password, also add more route line without 'input password' many times

Create a encrypted VPN password

echo "password" | openssl aes-256-cbc -a -salt

and input your password to encrypt

Add capability NET_ADMIN to 'route' command

sudo setcap cap_net_admin=+eip $(whereis route | awk '{print $2}')

Usage

tforticlient

and input your password again to decrypt