Firewall Rules - SOLVED

Started by 5k7m4n, July 19, 2020, 07:52:45 PM

Previous topic - Next topic
July 19, 2020, 07:52:45 PM Last Edit: July 21, 2020, 01:15:00 AM by 5k7m4n
I started working on adding wireguard but ran into some trouble.

I was following this guide https://homenetworkguy.com/how-to/configure-wireguard-opnsense/ and when I added the interface I didn't select one. Now I have an extra category in my firewall rules that I can not delete.

The only forum post I found was this https://forum.opnsense.org/index.php?topic=13912.0 but it doesn't help. Because I did rename the existing WG and it rename one of the rules but not the one that doesn't seem to have an interface associated with it.

Is there a config file I can edit to remove the extra rule?

not sure what do you mean, can't you delete the interface?

I would avoid it but anyway conf file is /conf/config.xml
https://www.signorini.ch
Protectli Pfsense Mi7500L6 Intel 7Th Gen Core I7 7500U 16Gb Ddr4 Ram
512Gb Msata Ssd
6 X Intel Gigabit Ethernet

July 21, 2020, 12:51:32 AM #2 Last Edit: July 21, 2020, 01:10:15 AM by 5k7m4n
Not sure what the right way is to get rid of the wireguard internal dynamic is.


  <wireguard>
      <internal_dynamic>1</internal_dynamic>
      <enable>1</enable>
      <if>wireguard</if>
      <descr>WireGuard</descr>
      <type>group</type>
      <virtual>1</virtual>
  </wireguard>
  <opt1>
      <if>wg0</if>
      <descr>WG</descr>
      <enable>1</enable>
      <lock>1</lock>
      <spoofmac/>
  </opt1>


Update:

I went in with vi and deleted that section then went back to the gui and the wireguard section was gone from the firewall rules.