我有4个Google云实例,我将它们配置为我的hadoop集群。我将静态外部IP设置为我的一个实例,以便从我的Linux机器(Linux的Windows子系统)进行连接。我尝试使用sshuttle服务作为VPN连接到该实例,以便我可以通过该VPN访问群集中的其他实例。连接到我的实例时发生Shuttle抛出错误
[错误]
sshuttle -r username@mystaticip 0.0.0.0/0 --ssh-cmd "ssh -i ~/.ssh/google_compute_engine"
[local sudo] Password:
client: Connected.
iptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
fatal: ['iptables', '-t', 'nat', '-nL'] returned 3
client: fatal: cleanup: ['sudo', '-p', '[local sudo] Password: ', 'PYTHONPATH=/usr/lib/python3/dist-packages', '--', '/usr/bin/python3', '/usr/bin/sshuttle', '--method', 'auto', '--firewall'] returned 99
到目前为止,Ubuntu上的Windows Linux子系统(WSL)不支持
sshuttle
。WSL中的Ubuntu似乎不完全支持Shuttle调用的iptables
命令相关问题 更多 >
编程相关推荐