OpenVPN Firewall rules still there even without OpenVPN profile

Started by nono, March 11, 2024, 03:51:12 PM

Previous topic - Next topic
Hi,

I'm on 23.10.2 (business edition) and I have a strange behavior.
I was using for few weeks, a OpenVPN client on my OPNSense firewall.
Since then, I've remove all the configuration related to it (nothing left except few logs) but I still have the firewall rules for a (ghost?) "OpenVPN" interface ?!

It kinda weird as I don't have any "OpenVPN" interface anymore... Out of "safety" (more for my peace of mind) I've removed all the rules, but I still have the 15 Automatically generated rules ?!

I tried to restart the appliance, but it still there. Is there anything do to to correct this as I shouldn't see this rules/interface at all, right ?

I have the exact same problem on my OPNsense 24.1.3_1-amd64.

I ran a site 2 site VPN and it is completely gone on one of my OPNsense, but not the other one.

After removing:
    <openvpn>
      <internal_dynamic>1</internal_dynamic>
      <enable>1</enable>
      <if>openvpn</if>
      <descr>OpenVPN</descr>
      <type>group</type>
      <virtual>1</virtual>
      <networks/>
    </openvpn>

from config.xml the OpenVPN is now gone from Firewall / Rules.