-
Notifications
You must be signed in to change notification settings - Fork 788
Closed
Description
when running sshuttle on mac, I get the following error:
sshuttle -r remote-host --ns-hosts=abc 192.168.1.0/24
client: Connected.
fatal: ['pfctl', '-a', 'sshuttle-12300', '-f', '/dev/stdin'] returned 1
client: fatal: cleanup: ['sudo', '-p', '[local sudo] Password: ', '/usr/bin/env', 'PYTHONPATH=/usr/local/Cellar/sshuttle/1.0.3/libexec/lib/python3.8/site-packages', '/usr/local/Cellar/sshuttle/1.0.3/libexec/bin/python3.8', '/usr/local/bin/sshuttle', '--method', 'auto', '--firewall'] returned 99
I can sudo without password, but still sshuttle expects a password for sudo.
I also tried to run sshuttle as sudo, to get around the necessity to enter password. This time another error:
sudo sshuttle -e 'ssh -i /Users/xyz/.ssh/id_rsa' -r remote-host --ns-hosts=abc 192.168.1.0/24
client: Connected.
fatal: ['pfctl', '-a', 'sshuttle-12300', '-f', '/dev/stdin'] returned 1
client: fatal: cleanup: ['/usr/local/Cellar/sshuttle/1.0.3/libexec/bin/python3.8', '/usr/local/bin/sshuttle', '--method', 'auto', '--firewall'] returned 99
Any hint what else I can try? I am using sshuttle version 1.0.3, installed using homebrew
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels