This commit introduces the ability to specify a custom port for the client configuration. This feature is particularly useful when the WireGuard server is behind a port forwarding setup, allowing clients to connect using the correct port number.
With this change, users can now define the desired client port in the configuration file with the env variable WG_CONFIG_PORT, ensuring seamless connectivity even in scenarios where the client's listening port differs from the standard port.
By @adriy-be
This commit introduces the ability to specify a custom port for the client configuration. This feature is particularly useful when the WireGuard server is behind a port forwarding setup, allowing clients to connect using the correct port number.
With this change, users can now define the desired client port in the configuration file with the env variable WG_CONFIG_PORT, ensuring seamless connectivity even in scenarios where the client's listening port differs from the standard port.