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

Use matching source address for outgoing connections #5

Closed

Conversation

milosivanovic
Copy link

For servers that have a network interface with more than one IP address, outgoing connections use whatever the default route prefers.

This PR will ensure that if microsocks listens on IP 1.2.3.4, that same IP will be used for outgoing connections instead of the server's default outgoing address, which may be a different one.

@milosivanovic milosivanovic force-pushed the use-matching-source-address branch from c5d2a76 to 32d7692 Compare September 4, 2017 23:58
@rofl0r rofl0r closed this in 391dcd7 Sep 12, 2017
@rofl0r
Copy link
Owner

rofl0r commented Sep 12, 2017

thanks for your PR, since it didn't handle IPv6 at all and i had a slightly different solution in mind, i gave it a go myself. please let me know if it works for you!

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

Successfully merging this pull request may close these issues.

2 participants