-
Notifications
You must be signed in to change notification settings - Fork 719
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
Mac OS X El Capitan (10.11.1): requests are not forwarded through a proxy #43
Comments
Hello, I tried to reproduce the problem on OSX10.11.2 (python 2.7.10 client; python 2.6.8 server) but was unable to. Is it happening with other servers? While I was testing this I noticed that sshuttle is not properly cleaning up the ruleset on exit. I don't think that it is the cause of your issue but maybe you can try restarting your machine and see if the problem persists. You can also try with pr #37 although I am unsure if the problem you are experiencing is fixed there. |
Just updated to 10.11.2. Restarted. |
What kind of traffic? HTTP?
|
i use sshuttle to connect to remote servers via ssh, connect to http servers, database servers etc. |
Sounds very similar to #35 to me. Don't know what is going wrong, sorry. I note that the pf method doesn't log the pf rules being configured, maybe we should change that. |
Rules:
I also do not see anything in pf log
no "pass out" entries when I tried to connect to external servers. It means that pf rules are not applied for some reason. |
(I reported #35) |
(Oh also feel free to close #35 as a duplicate if you want; I think it might be the same issue as here) |
What @molyakov posted doesn't list all the rules we setup. For example, the definition of <forward_subnets> is not given. The latest version in git should output all of that in its debug output now. |
I have run latest version from repository:
|
You need to use |
Output with pf rules:
|
Just updated my previous comments by new debug output (after correct update of sources and re-install a tool) |
I'm running into the same issue:
|
Could you give me any hints to reproduce this? I tried to reproduce this problem a few times but never managed to. Do you have some other rules on your pf? Have you ever enabled or configured your OSX firewall? |
I don't have any pf rules that I know of. Firewall is currently off but was certainly enabled at some point in the past. |
Have the same issue. It arised after switching to other PPPoE connection. |
Ok, I know what cause this issue. You need run |
I'll give this a shot and see if it resolves my issues as well On Tuesday, February 16, 2016, Boris Kuznetsov notifications@github.com
|
@achempion @John-K I'm using an older build with 10.11.3 https://github.com/sshuttle/sshuttle/tree/57d1cb1e119ac3a575fe25c3b73a2be2cfb92211 I can ssh to sites using reverse tunnels with no issues and when I exit the terminal I see the following
|
What rules were there before flushing? Are there any steps I can follow to reproduce getting those rules appended and sshuttle not working? Thanks!
|
@vieira Rules gone :) I think you need try to change network and NetBIOS name (System Preferences > Sharing > Computer name > Edit). That what I did to get this issue, I think. |
I'm encountering the same issue when running both commands. (
|
Could you guys please post the output of the following commands (while sshuttle is running)? |
@vieira I ran
|
@havvg Thanks a lot, that was helpful! I have some ideas now I will put to the test tomorrow. |
In some cases (see sshuttle#43) it seems that some network configurations may end up setting a skip on lo. As sshuttle adds rules that rely on filtering/translating packets on lo, this causes problem. This fix overrides the skip and makes the rules be applied again. Should fix at least some of the problems reported on sshuttle#43.
In some cases (see #43) it seems that some network configurations may end up setting a skip on lo. As sshuttle adds rules that rely on filtering/translating packets on lo, this causes problem. This fix overrides the skip and makes the rules be applied again. Should fix at least some of the problems reported on #43.
This also fixes the issue for me. Great work! On Tue, Mar 1, 2016 at 10:44 PM, Evan Gray notifications@github.com wrote:
|
Closing due to reports that change (which was merged) fixes this. |
That was fast, @brianmay could you tag a new release so homebrew may update easily? |
@havvg Have released version 0.77. Looks like I stuffed up the upload to pypi (forgot to pass the --sign parameter) so I may have to release version 0.78 shortly to rectify this. |
Indeed, there is no tarball available on pypi. |
pypi is now fixed. |
Hello,
A tunnel via ssh -NC XXXX@XXXX -L 9999:10.150.135.166:1526 works just fine.
When I run sshuttle my requests to 10.150.135.166 are not forwarded.
This is how I run it:
What can be an issue? NO errors reported.
The text was updated successfully, but these errors were encountered: