You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When using the FritzBox WireGuard configuration with Gluetun, it fails to connect because the WireGuard host is specified as a URL (e.g., myfritzaddress.myfritz.net) instead of an IP address.
Currently, Gluetun attempts to parse the host value into an integer, which causes an error when a URL is provided. This issue makes it impossible to use dynamic DNS addresses like the ones provided by FritzBox (MyFritz).
Steps to Reproduce:
1. Configure Gluetun with a WireGuard configuration file exported from a FritzBox router.
2. Use a dynamic DNS address (e.g., myfritzaddress.myfritz.net) as the WireGuard host.
3. Start Gluetun and observe the failure due to the host being parsed incorrectly.
Expected Behavior:
Gluetun should support URLs as valid WireGuard hosts and resolve them correctly to an IP address.
Proposed Solution:
Update the parsing logic for the WireGuard host to support both IP addresses and URLs, resolving the latter to an IP address dynamically.
What's the feature 🧐
Description:
When using the FritzBox WireGuard configuration with Gluetun, it fails to connect because the WireGuard host is specified as a URL (e.g., myfritzaddress.myfritz.net) instead of an IP address.
Currently, Gluetun attempts to parse the host value into an integer, which causes an error when a URL is provided. This issue makes it impossible to use dynamic DNS addresses like the ones provided by FritzBox (MyFritz).
Steps to Reproduce:
1. Configure Gluetun with a WireGuard configuration file exported from a FritzBox router.
2. Use a dynamic DNS address (e.g., myfritzaddress.myfritz.net) as the WireGuard host.
3. Start Gluetun and observe the failure due to the host being parsed incorrectly.
Expected Behavior:
Gluetun should support URLs as valid WireGuard hosts and resolve them correctly to an IP address.
Proposed Solution:
Update the parsing logic for the WireGuard host to support both IP addresses and URLs, resolving the latter to an IP address dynamically.
Extra information and references
Wireguard config:
The text was updated successfully, but these errors were encountered: