Add WIREGUARD_MTU configuration option for customizable MTU settings

This commit is contained in:
Eduardo Silva
2026-03-24 14:52:24 -03:00
parent 9f563b4891
commit 018cf1380e
7 changed files with 26 additions and 0 deletions

View File

@@ -25,6 +25,13 @@ TIMEZONE=America/Sao_Paulo
# Example: EXTRA_ALLOWED_HOSTS=app1.example.com,app2.example.com:8443,app3.example.com
#EXTRA_ALLOWED_HOSTS=app1.example.com,app2.example.com:8443,app3.example.com
# Set a custom MTU for WireGuard interfaces (server and client configs).
# Only change this if you know what you are doing. The default WireGuard MTU (1420) works for most setups.
# Must be an integer between 1280 and 9000.
# After changing this value, re-export and re-distribute all client configuration files,
# as mismatched MTU between server and clients can cause connectivity and performance issues.
# WIREGUARD_MTU=1420
# Allow VPN clients to access Django directly through the internal interface.
# When enabled, users connected to the VPN can open the web interface using:
# http://ip_or_hostname:8000