Skip to content
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 not working on WSL #3336

Closed
BerndKue opened this issue Jun 28, 2018 · 3 comments
Closed

sshuttle not working on WSL #3336

BerndKue opened this issue Jun 28, 2018 · 3 comments

Comments

@BerndKue
Copy link

I would like to tunnel all my traffic through a specific ssh server using sshuttle

I installed the package via apt-get install sshuttle without issues.

But establishing the connection to the ssh host gives me the following error message:
iptables v1.6.0: can't initialize iptables table 'nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.

It seems that the Ubuntu inside the WSL does not fully support the iptables commands sshuttle is calling.

Using sshuttle to tunnel traffic through so called jump hosts to access a secured infrastructure network is a common practice in IT administration. Our Linux and Mac users are doing this since a long time. On Windows it was always a pain to use solutions like putty as a dynamic port socks proxy. This anyway only does the job for applications that are able to use a socks proxy but not for command line tools.

It is actually the only thing that is holding back some of my colleagues to change from a Mac to a windows workstation.

@WSLUser
Copy link

WSLUser commented Jun 28, 2018

Duplicate of #767, which in turn was closed (after 2 years of remaining open). UserVoice is here

@therealkenc
Copy link
Collaborator

Calling it #767 but mostly for lack of CONTRIBUTING.md.

@AddoSolutions
Copy link

Has anyone updated this in WSL2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants