MadaMada
@madamada@snac.void.my
@madamada Isn't this more of a Linux issue? I' haven't seen /bin/bash /usr/bin/wg-quick up wg0 lingering after destroying the connection, but I haven't been looking. I'm using 14.3-BETA4 and my stability issues with WiFi are more prescient in my mind ;0
@madamada Do you have is posted somewhere, your postDown, I will implement it.
PostDown = killall -9 route
@madamada Added:
flush_wg_routes.sh
This script runs automatically on disconnect and:
Identifies and removes any active routes associated with wg0
Ensures the system routing table is clean after tunnel teardown
If no tunnel-specific routes are present, it exits safely:
[flush_wg_routes] No routes found for interface wg0