DefGuard / wireguard-rs

Rust library providing unified WireGuard interface to native/kernel and userspace implementations
https://github.com/defguard/defguard/
Other
123 stars 10 forks source link

Unable to change existing WireGuard interface address on Linux #17

Closed wojcik91 closed 12 hours ago

wojcik91 commented 9 months ago

When updating the address (for example from 10.0.70.1/24 to 10.0.70.10/24) the IP is not actually changed when running on Linux. The interface has to be removed first, then it can be reconfigured.

Ange-Cesari commented 9 months ago

Hey @wojcik91 ,

What address are you refering to ?

Is that the address of the host or any/peer address ?

I thought using the configure_interface() was working

Best, Ange

moubctez commented 12 hours ago

Fixed in #63