You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed sshuttle and pydivert by pip(python3.12), and use command "sshuttle --method windivert -r ubuntu@xxxxxx 10.0.0.0/8 ", but there is also error "ModuleNotFoundError: No module named 'fcntl'"
Current master branch doesn't have fcntl imports in Windows code path.
Note that windivert is for Windows host, and won't work on WSL as it's Linux VM.
What'ssshuttle --version ?
I was able to get this working using the portable version of Python and following the instructions here:
Python Embedded on Windows 10 except I used Python 3.12.1. I created the virtual environment, installed sshuttle and pydivert and got the Windows firewall popup, connected and am routing traffic.
I had to run it from an elevated terminal, but I've had no issues for the last several days. I am running on Windows 10.
Activity
nom3ad commentedon Nov 12, 2024
Current master branch doesn't have
fcntlimports in Windows code path.Note that windivert is for Windows host, and won't work on WSL as it's Linux VM.
What's
sshuttle --version?felipecrs commentedon Dec 19, 2024
I'm experiencing the very same error. I just did
pip install pydivert sshuttle.pydivert 2.1.0
sshuttle 1.1.2
felipecrs commentedon Dec 19, 2024
This is the solution:
thedunston commentedon Feb 28, 2025
I was able to get this working using the portable version of Python and following the instructions here:
Python Embedded on Windows 10 except I used Python 3.12.1. I created the virtual environment, installed sshuttle and pydivert and got the Windows firewall popup, connected and am routing traffic.
I had to run it from an elevated terminal, but I've had no issues for the last several days. I am running on Windows 10.