Wireguard is not updating it's config when started by wg-quick up wg.conf #14122
Unanswered
paulwellnerbou
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to change the configuration of wireguard client configuration on my Ubuntu system. It is running without any problems for months now. But now I want to change the
AllowedIPs
configuration of my peer. But I am not able to convince mywg0
device to use this new configuration.What I tried to do:
wg-quick down wg0
AllowedIPs = 0.0.0.0/0, ::/0
wg-quick up /etc/wireguard/wg0.conf
After that, my
wg0
is still using theallowed-ips
I had configured before. I am checking this looking at the output ofwg
and checking my public IP.wg-quick strip wg0
does print the correct configuration though.Even if I try to sync the configuration with
wg syncconf wg0 <(wg-quick strip wg0)
, the new configuration is applied (checking it withwg
), but I still have my previous IP.Where is the
allowed-ips
configuration configured/saved/cached if not in my configuration file? Where is wireguard taking it from?Beta Was this translation helpful? Give feedback.
All reactions