rule error There were error(s) loading the rules: /tmp/rules.debug
-
hi
I am configuring vpn with pfsense.
I'm pretty new to pfsense at the moment but just saw these flagging up from today.There were error(s) loading the rules: /tmp/rules.debug:68: macro 'WIREGUARD__NETWORK' not defined - The line in question reads [68]: nat on $WAN inet from $WAN__NETWORK to $WIREGUARD__NETWORK -> 172.16.40.1/32 port 1024:65535
Any idea what this is about?
-
WIREGUARD__NETWORK is an internal alias used to contain all the subnets assigned to the WIREGUARD interface. So if that is not defined it implies there is no WIREGUARD interface any longer but at one time there was because the alias still exists in a rule.
Were you using WireGuard and now removed it?
Do you have Outbound NAT set to automatic still? That should update itself to interface changes. If you have set it to manual though you may need to update it.
Steve
-
Thank you for answer.
Is there anything in these settings that needs to be erased or updated? -
Do you have a wireguard connection still? A wireguard interface?
If not you should remove (or disable) those rules with that alias in them.