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

Update WireGuard config's SERVER_PUBLIC_URL to UDP #49

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

ay-bh
Copy link

@ay-bh ay-bh commented Mar 12, 2024

closes #48
This updates the SERVER_PUBLIC_URL configuration for the WireGuard VPN setup from TCP to UDP in the config/config.ini.example.

WireGuard explicitly does not support tunneling over TCP, due to the classically terrible network performance of tunneling TCP-over-TCP.

Source : https://www.wireguard.com/known-limitations/

This commit updates the SERVER_PUBLIC_URL configuration for the WireGuard VPN setup from TCP to UDP
@verovaleros
Copy link
Member

We have this configuration on TCP because, from experience, it worked better, and it had fewer issues during deployment.

Let's have the two options, please. Let's leave the udp:// by default, and bring back the other option with a comment on 'Switch to this for having TCP instead of UDP'.

Can you do it @ay-bh ?

@ay-bh
Copy link
Author

ay-bh commented Mar 27, 2024

@verovaleros Thank you for the feedback. Sure I'll do it.

@ay-bh
Copy link
Author

ay-bh commented Mar 27, 2024

@verovaleros Please check now.

Copy link
Member

@verovaleros verovaleros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic, thanks

@verovaleros verovaleros merged commit 57b769b into stratosphereips:develop Mar 27, 2024
1 of 2 checks passed
@verovaleros verovaleros added documentation Improvements or additions to documentation enhancement New feature or request labels Mar 27, 2024
@verovaleros verovaleros added this to the v0.1.3-beta milestone Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants