-
Notifications
You must be signed in to change notification settings - Fork 728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sshuttle 1.1.2 not working on macOS Sequoia Developer Beta 15.0 #975
Comments
Same here. I got forced to set up a Linux VM with sshuttle and route my traffic to the remote networks through that VM. |
I have issues with bettercap any.proxy module which internally uses pfctl. I'm also using macOS Sequoia Beta. |
I may have the issue too, same behavior, same output. I am not certain if it is related to the new macOS version or even something else. It fails most of the time, but after restarting the computer, usually the first connection via Sshuttle will work.
|
Upgraded to Sequoia today. sshuttle stopped working. |
EDIT: As others have tested and I've also tested it again, the following instructions doesn't work. Try this one
sudo sshuttle -r [email protected] 1.2.3.4/32 2.3.4.5/32
|
this didn't work for me. I'm on official MacOS 15 release |
Same here: the |
Sorry about that, yeah, it didn't work for me either after I tried. I gave another go at trying to workaround it and found the solution: Just run Hope it works for y'all this time. I tested this by rebooting and doing only the above - so a lot more proper this time. Rough explanation and cause: I realized that I was also doing a bunch of things with If we run $ pfctl -sr
No ALTQ support in kernel
ALTQ related functions disabled
scrub-anchor "com.apple/*" all fragment reassemble
scrub-anchor "com.apple.internet-sharing" all fragment reassemble
anchor "com.apple/*" all
anchor "com.apple.internet-sharing" all And if we run $ pfctl -sr
No ALTQ support in kernel
ALTQ related functions disabled
scrub-anchor "com.apple/*" all fragment reassemble
scrub-anchor "com.apple.internet-sharing" all fragment reassemble
anchor "com.apple/*" all
anchor "com.apple.internet-sharing" all
anchor "sshuttle6-12300" all
anchor "sshuttle-12300" all But interestingly, sshuttle wouldn't work despite the anchor (anchor is a list of rules) being there. What if we reload the firewall rules i.e. We'd get this: $ pfctl -sr
No ALTQ support in kernel
ALTQ related functions disabled
scrub-anchor "com.apple/*" all fragment reassemble
anchor "com.apple/*" all
anchor "sshuttle6-12300" all
anchor "sshuttle-12300" all So something within $ pfctl -sr
No ALTQ support in kernel
ALTQ related functions disabled
scrub-anchor "com.apple/*" all fragment reassemble
scrub-anchor "com.apple.internet-sharing" all fragment reassemble
anchor "com.apple/*" all
anchor "com.apple.internet-sharing" all Interesting! P.S: I'm not great at networking, nor great at |
Thanks a lot it worked for me |
Awesome, works for me too! Thanks! |
same here, thank you! |
it connects for sometime and then get the following error: ssh_dispatch_run_fatal: Connection to UNKNOWN port 65535: Connection corrupted not working for me |
this is work for me, thank you! |
Thanks a lot, it's working for me. Without that, I wouldn't be able to work with MacOS 15.0 (using sshuttle every day). |
Hey guys, I switched to Seqoia yesterday, too. Now I am facing similiar sshuttle problems. I tried the workaround @abdullah-kasim provided but unfortunately it doesn't work for me. Anyways, it seems my issue is a little different. When connecting to hosts with HTTPS or SSH through sshuttle I'm fine. When downloading a file through WebGUI or SSH over the tunnel the connection breaks immediately. I turned on verbose and got this:
The "bad packet length" seems to be the trigger for breaking the SSH tunnel. I am running sshuttle version 1.1.2. The issue occurs in daemon mode, too. Any ideas on this? Edit It seems there are several bugs in the macOS firewall. Have a read here -> https://www.reddit.com/r/MacOS/comments/1fihlge/comment/lnngp9n/ Edit2 macOS 15.0.1 has been released and I tested sshuttle with it. I downloaded a 149 MByte file without any disruption. At first glance, everything seems to work again. |
Does not work for me on 15.0.1. After sudo pfctl -f /etc/pf.conf it did work. Thanks for the workaround but is there anything that can be done within the package/brew installation that will make it work without this workaround? |
Sorry if this is a duplicate issue, but I could not find another issue with the same problem. I am trying to use Sshuttle to connect to a Linux server from my macOS. With the command below:
sshuttle -v -r [email protected] XXX.0.0.0/8
When running this command, after typing the password, the flow lines of logs are shown:
Sshuttle --version 1.1.2
macOS Sequoia Developer Beta2 15.0
Previously it ran fine on older versions of macOS Sonoma, but after the upgrade it doesn't work.
Can someone help me? Thanks
The text was updated successfully, but these errors were encountered: