管理多个sshuttle vpn会话
sshoot的Python项目详细描述
管理多个sshuttlevpn会话的命令行接口。
sshuttle创建从您的计算机到任何远程服务器的VPN连接 您可以通过ssh连接到。
sshoot允许使用sshuttle和 根据需要启动/停止它们。
它支持大多数sshuttle功能的配置选项, 为配置文件提供灵活的配置。
用法
创建配置文件:
$ sshoot create -r host1.remote -HNd vpn1 10.0.0.0/24
启动:
$ sshoot start vpn1 Profile started.
列出现有配置文件(活动标记):
$ sshoot list Profile Remote host Subnets -------------------------------------------- * vpn1 host1.remote 10.0.0.0/24 vpn2 host2.remote 192.168.0.0/16
停止配置文件:
$ sshoot stop vpn1
删除:
$ sshoot delete vpn1