I have 4 Google cloud instances and I configured those as my hadoop cluster. I set static external IP to one of my instances to connect from my Linux machine (Windows subsystem for Linux). I tried to use sshuttle service to connect to that instance as VPN so that I can access another instances in my cluster through this VPN. sshuttle throwing error while connecting to my instance.
[ERROR]
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