openconnect客户端指定路由表

 

安装 openconnect 之后

brew install vpn-slice

For BNU, 执行:

sudo echo password | sudo openconnect --user username https://sslvpn.bnu.edu.cn --juniper -s "vpn-slice  59.64.60.0/24 172.16.18.0/24" --servercert pin-sha256:rwRWSQS5A+4Od1knTO7iPT8+YSp6b9LovjOl0iKLvRA= --passwd-on-stdin