How to stop sshuttle from forwarding localhost?

1

0

When I use sshuttle I prefer not to forward localhost as some of my services are serving to it. So I checked the man page and it declared the use of -x option to exclude any IP. My final command is

sshuttle --dns -r SSH_SERVER -x 127.0.0.1 0/0

but it doesn't do the trick.

Does anybody have any idea how to fix it? I'm on macOS Sierra.

Bat

Posted 2017-08-07T11:08:07.627

Reputation: 131

Answers

2

Looks like it's a bug found just recently and should be fixed soon. I solved my problem by going back to the commit before it's origin. This bug was found approximately two weeks ago and was partially fixed once.

git clone https://github.com/sshuttle/sshuttle.git
git checkout ef83a5c
sudo ./setup.py install

Bat

Posted 2017-08-07T11:08:07.627

Reputation: 131

0

Had the same issue in version 0.78.3. Didnt exist after upgrading to 0.78.4 using sudo pip3 install --upgrade sshuttle

Installing collected packages: sshuttle
  Found existing installation: sshuttle 0.78.3
    Uninstalling sshuttle-0.78.3:
      Successfully uninstalled sshuttle-0.78.3
Successfully installed sshuttle-0.78.4

gies0r

Posted 2017-08-07T11:08:07.627

Reputation: 181

I still have the problem on 0.78.4 :/ – AsTeR – 2018-08-03T15:43:17.167