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

Add a configuration to allow forward to a different local host #15

Merged
merged 2 commits into from
Apr 12, 2022

Conversation

antoniomika
Copy link
Contributor

Adds the ability to provide a different host to forward connections to. Closes #14.

Can test with the following:

# Start a tunnel proxying a port to httpbin.org:80
cargo run local --to bore.pub -l httpbin.org 80
# Access a url that httpbin.org:80 exposes
curl -vvv http://bore.pub:<port>/anything

Copy link
Owner

@ekzhang ekzhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks great! Only one minor thing (&str usage) and please if you could run cargo run help local and cargo run help server and update the usage section fo README.md, that would be very helpful.

@antoniomika antoniomika force-pushed the am/add-local-host-forward branch from d88de87 to c031d45 Compare April 11, 2022 23:17
@antoniomika
Copy link
Contributor Author

Updated, thanks for the review!

@ekzhang
Copy link
Owner

ekzhang commented Apr 12, 2022

Thank you! :)

@ekzhang ekzhang merged commit 99fc4f7 into ekzhang:main Apr 12, 2022
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.

bore to lan
2 participants