Wireguard instance and peers constantly regenerating after deletion

Started by rama3124, Today at 10:16:56 AM

Previous topic - Next topic
Hi
I used to use PIA through wireguard on OPNsense but recently switched to NordVPN through wireguard so created a new instance + peer and deleted the old ones. However the PIA wireguard instance and peer seem to regenerate automatically after a short while. How can I delete them permanently and stop them from regenerating?

Not sure if it helps but I run the latest verson of OPNsense:
OPNsense 25.7.11_2-amd64
FreeBSD 14.3-RELEASE-p7
OpenSSL 3.0.18

Thanks

You probably used something like this: https://github.com/FingerlessGlov3s/OPNsensePIAWireguard to do this.

If so, that means you added non-standard functionality to OpnSense, including scripts that are probably still being called and creating configurations on-the fly via cron or other means. If you cannot undo these modifications, your best bet would be to save your configuration, reinstall and import your configuration again in order to restore system state.


Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+

You are correct, that was the exact script I was using! I have removed the modifications and everything is fine now
Thanks again