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

[Feature] support tunneling between two instances #410

Open
ameir opened this issue Sep 24, 2024 · 1 comment
Open

[Feature] support tunneling between two instances #410

ameir opened this issue Sep 24, 2024 · 1 comment

Comments

@ameir
Copy link

ameir commented Sep 24, 2024

Description

It would be nice if tun2socks can support a model similar to https://github.com/go-gost/gost where it can run on two instances -- one acts as a server, and the other a client. This would allow us to tunnel with a single tool, and lessen variables across users who need this use case.

Is this feature related to a specific bug?

No response

Do you have a specific solution in mind?

The server side can be a socks5 proxy, or just a raw UDP socket that we tunnel over. The client would not need changes in the former case, and would understand the tunnel protocol in the latter case.

@xjasonlyu
Copy link
Owner

tun2socks is always a client-side tool that tunnels local traffic to a target proxy server. I don't think it's worthwhile to make it act as a proxy server since there are already tons of proxy applications.

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

No branches or pull requests

2 participants