StreisandEffect / streisand

Streisand sets up a new server running your choice of WireGuard, OpenConnect, OpenSSH, OpenVPN, Shadowsocks, sslh, Stunnel, or a Tor bridge. It also generates custom instructions for all of these services. At the end of the run you are given an HTML file with instructions that can be shared with friends, family members, and fellow activists.
https://twitter.com/streisandvpn
Other
23.17k stars 1.99k forks source link

sshuttle error: ipfw/iptables not found on os/x #120

Closed kyleridolfo closed 9 years ago

kyleridolfo commented 9 years ago

On OS/X Yosemite I got the following error when trying to run sshuttle. It might be a problem with sshuttle and not streisand but I thought I would report it and ask if you've seen this before.

~/bin/sshuttle • ./sshuttle --dns -r forward@streisand 0/0 -vv
Starting sshuttle proxy.
Binding: 12300
Listening on ('127.0.0.1', 12300).
DNS listening on ('127.0.0.1', 12300).
fatal: can't find either ipfw or iptables; check your PATH
fatal: ['sudo', '-p', '[local sudo] Password: ', 'python', './main.py', 'python', '-v', '-v', '--firewall', '12300', '12300'] returned 99
jlund commented 9 years ago

Apple removed ipfw in Yosemite and replaced it with pfctl. Sadly, the last commit to sshuttle happened in August 2012 and it hasn't kept pace with these changes.

I updated the generated documentation to reflect this. sshuttle is such a cool project. I hope it either comes back someday, or someone with time to maintain a fork is able to pick it up.

kyleridolfo commented 9 years ago

Awesome info, thank you!

jlund commented 9 years ago

sshuttle is back! (#193)