Closed rwrnet closed 2 months ago
If you set the ENV SERVER_ALLOWEDIPSPEER... peer configs are not recreated.
Log also states: **** No changes to parameters. Existing configs are used. ****
**** No changes to parameters. Existing configs are used. ****
This is due to: https://github.com/linuxserver/docker-wireguard/blob/095f857aca17254b99947eb24b88d237e8977693/root/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run#L178 not checking for changes on the SERVER_ALLOWEDIPS_PEER Envs.
If one adds a SERVER_ALLOWEDIPSPEER... config is being recreated.
- OS: Ubuntu 24.04 - How docker service was installed: via apt install docker-ce
x86-64
It should be reproducible with every config. Happy to provide my anonymized specific one, in case it is needed.
**** Server mode is selected **** **** No changes to parameters. Existing configs are used. ****
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Just realized, that the documentation states this explicitely. Closing issue.
Is there an existing issue for this?
Current Behavior
If you set the ENV SERVER_ALLOWEDIPSPEER... peer configs are not recreated.
Log also states:
**** No changes to parameters. Existing configs are used. ****
This is due to: https://github.com/linuxserver/docker-wireguard/blob/095f857aca17254b99947eb24b88d237e8977693/root/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run#L178 not checking for changes on the SERVER_ALLOWEDIPS_PEER Envs.
Expected Behavior
If one adds a SERVER_ALLOWEDIPSPEER... config is being recreated.
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
Container logs