-
Notifications
You must be signed in to change notification settings - Fork 45
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
Feature suggestion: option to listen on remote server #50
Comments
Hey! Thanks for the suggestion. This sounds the same as #6. The first use-case I had for |
Thanks for the response! I think this is close enough to the same issue that maybe it would have the same solution. I'm okay with closing this if that turns out to be the case. I think the end goal is a little different though. Usually the goal of a reverse mode has to do with firewalls. E.g. there are ssh servers are both ends, A wants to open a shell on B, but B is behind a firewall that doesn't allow incoming connections. Solution: B connects to A in reverse mode. I don't care about this feature at all. What I'm after is something that can act like a boring, vanilla Wireguard server on the remote end, just without root. I think
If I understand correctly, this wouldn't involve TCP, it would just be UDP as before. This would not involve any changes to the Wireguard protocol. As I imagine it working,
Or maybe just a |
What I meant is that onetun would behave like a regular WireGuard peer over UDP, just that instead of initiating TCP/UDP connections through the tunnel, it would be receiving TCP/IP handshakes (processed by smoltcp) In other words, onetun has to create virtual server sockets instead of clients in this mode. |
Okay, I'll close this. Thanks for responding! |
From the documentation:
Maybe the documentation just leaves this out, but it's not obvious to me why onetun itself can't function as the remote WG endpoint. Couldn't it just listen on an unprivileged port and forward packets as requested to a destination port?
This might not be a common use case, but it seems like it might be nice to use onetun in cases where neither end of the connection has root.
The text was updated successfully, but these errors were encountered: