Can an interface configuration be defined by a file?

You can try restarting just the wireguard interface:

ifdown <wireguard_interface_name>
ifup <wireguard_interface_name>

You may actually want to down it before changing the config, then up when you're done.

1 Like