OPNsense Forum

English Forums => 25.7, 25.10 Series => Topic started by: LisaMT on August 28, 2025, 06:05:51 PM

Title: Wireguard Group still there?
Post by: LisaMT on August 28, 2025, 06:05:51 PM
I switched from Wireguard to OpenVPN, and the wireguard group is still showing.  How can I remove it?

Title: Re: Wireguard Group still there?
Post by: franco on August 28, 2025, 07:13:32 PM
The group should disappear when WireGuard is globally disabled.

If it's not removed right away there may be a sync call missing, but let's make sure that wireguard is globally disabled first.


Cheers,
Franco
Title: Re: Wireguard Group still there?
Post by: LisaMT on September 01, 2025, 01:40:05 AM
Globally removed?  I've removed the instances and it's still there.  I'll see if I missed something.  I remember when I was installing it there were some other changes.  Thanks for the help.
Title: Re: Wireguard Group still there?
Post by: franco on September 01, 2025, 08:51:14 AM
>  I've removed the instances and it's still there.

That's why I said you need to disable the global wireguard enable toggle. Removing all instances is not enough for the group to disappear.


Cheers,
Franco
Title: Re: Wireguard Group still there?
Post by: apoorva on September 21, 2025, 02:30:09 AM
having a similar issue.  removed wireguard interface and toggled off wireguard from VPN>WireGuard>Instances Enable WireGuard.

still see wireguard in Firewall: Groups.

how can i remove?  thank you!

(https://imgur.com/a/sQmO69Q)
https://imgur.com/a/sQmO69Q (https://imgur.com/a/sQmO69Q)


or is just merely stating it is available?
Title: Re: Wireguard Group still there?
Post by: LisaMT on February 17, 2026, 08:30:21 PM
Quote from: franco on September 01, 2025, 08:51:14 AM>  I've removed the instances and it's still there.

That's why I said you need to disable the global wireguard enable toggle. Removing all instances is not enough for the group to disappear.


Cheers,
Franco
Just checked, I still show a wireguard group.  Maybe you could give some details on finding that 'global wireguard enable toggle'?
Title: Re: Wireguard Group still there?
Post by: franco on February 18, 2026, 03:00:21 PM
Ok so:

1. Firewall: Rules: WireGuard (Group)

will be there when wireguard is enabled globally, removed when not enabled. The legacy behaviour injects groups into the config.xml.

2. Firewall: Groups

will always list wireguard since it's a static group definition and ignore the absence in config.xml in the MVC/API code

3. Firewall: Rules [new]

will always list wireguard since same as 2.

Happy to look into it further if someone wants to raise a ticket. Chances are that the new static behaviour is preferred, but it should be discussed clearly to be sure.


Cheers,
Franco