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

Does it also send back response? #6

Closed
amrit92 opened this issue Dec 21, 2023 · 5 comments
Closed

Does it also send back response? #6

amrit92 opened this issue Dec 21, 2023 · 5 comments

Comments

@amrit92
Copy link

amrit92 commented Dec 21, 2023

Does it relay back response after forwarding to TCP dest?

@Snawoot
Copy link
Owner

Snawoot commented Dec 21, 2023

Yeah, it does. Those are bidirectional connections. What's your case? Give me an example.

@amrit92
Copy link
Author

amrit92 commented Dec 21, 2023

I'm trying the following:

App (JDBC etc) -> Socks5 proxy / TCP -> Steady-tun (send proxyprotocol header then do TLS) -> Secure endpoint

I need to explore how to add Socks5 and the proxyprotocol header.

@Snawoot
Copy link
Owner

Snawoot commented Dec 21, 2023

Ah, right! Yeah, should work. But I can't get what do you need SOCKS5 for in your scheme? Is this the only way for an app to reach network location where steady-tun can be hosted? If you'd like to just wrap your conn into TLS, steady-tun is sufficient (except PP thing, this one needs a bit of customization).

@amrit92
Copy link
Author

amrit92 commented Dec 22, 2023

Yes, its for apps which are just limited to SOCKS proxy and I can't edit their source. They would tunnel through SOCKS and then customized steady-tun would add header + encrypt/decrypt traffic to secure endpoint.

@Snawoot Snawoot closed this as completed Dec 22, 2023
@flikites
Copy link

flikites commented Aug 2, 2024

Yes, its for apps which are just limited to SOCKS proxy and I can't edit their source. They would tunnel through SOCKS and then customized steady-tun would add header + encrypt/decrypt traffic to secure endpoint.

We're you ever able to get a proper setup with the SOCKS configuration? @amrit92

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

3 participants