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

Can nat traversal use tcp to punch holes? #422

Open
maoyuanpeng opened this issue Nov 7, 2022 · 1 comment
Open

Can nat traversal use tcp to punch holes? #422

maoyuanpeng opened this issue Nov 7, 2022 · 1 comment
Labels
enhancement New feature requests or performance improvement. wontfix A potentially valid point has been made, but a decision has made not to address this issue.

Comments

@maoyuanpeng
Copy link

After my tests, I found that it seems that only udp can be used to punch holes. If tcponly is set, the network traffic will be transferred through the host with the public IP.
I kown udp holes punching is better than tcp. But in my area, udp will be restricted and qos.

@gsliepen
Copy link
Owner

gsliepen commented Nov 8, 2022

Unfortunately, only UDP hole punching is supported. TCP hole punching is working differently is much harder to do, and while perhaps not impossible, this is not something that I plan to support.

@gsliepen gsliepen added enhancement New feature requests or performance improvement. wontfix A potentially valid point has been made, but a decision has made not to address this issue. labels Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature requests or performance improvement. wontfix A potentially valid point has been made, but a decision has made not to address this issue.
Projects
None yet
Development

No branches or pull requests

2 participants