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

Relay hysteria2 to a remote server. #599

Open
woyin opened this issue Oct 22, 2024 · 0 comments
Open

Relay hysteria2 to a remote server. #599

woyin opened this issue Oct 22, 2024 · 0 comments

Comments

@woyin
Copy link

woyin commented Oct 22, 2024

I hope to use gost to perform port forwarding in order to avoid directly exposing ports.

I have deployed gost on server A, Trojan (port 443) on server B, and Hysteria2 (port 8080) on server C.

How should I configure gost to ensure that I only expose server A and its port while being able to connect to servers B and C?

No matter how I configure the handler and listener, whether it's for TCP or UDP, I cannot get the proxy to work properly.

  handler:
    type: ??? # no matter tcp or udp can not work properly
  listener:
    type: ??? # no matter tcp or udp can not work properly
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

1 participant