OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 22.7 Legacy Series »
  • Firewall errors after upgrade to 22.7
« previous next »
  • Print
Pages: [1]

Author Topic: Firewall errors after upgrade to 22.7  (Read 3074 times)

trunet

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Firewall errors after upgrade to 22.7
« on: August 23, 2022, 11:54:03 am »
I upgraded from 22.1 to 22.7 and after firewall was back, it showed the red dot on top right with 2 errors:

Code: [Select]
2022-08-19T11:39:09 Error firewall There were error(s) loading the rules: no IP address found for puppet
2022-08-19T11:39:09 Error firewall /usr/local/etc/rc.bootup: The command '/sbin/pfctl -f /tmp/rules.debug.old' returned exit code '1', the output was 'pfctl: /tmp/rules.debug.old: No such file or directory pfctl: cannot open the main config file!: No such file or directory pfctl: Syntax error in config file: pf rules not loaded'

However I have the puppet alias with an IP there just fine:
Code: [Select]
puppet Host(s) 192.168.x.x 1
My firewall is working perfectly per tests I performed. Any idea on how to fix this or troubleshoot further?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17750
  • Karma: 1620
    • View Profile
Re: Firewall errors after upgrade to 22.7
« Reply #1 on: August 23, 2022, 01:46:14 pm »
"puppet" is a host entry? In Unbound or Dnsmasq or DHCPv4?

If you set an alias it should look for "$puppet" to be honest.

Can you post the output of:

# grep puppet /tmp/rules.debug


Cheers,
Franco
Logged

Fright

  • Hero Member
  • *****
  • Posts: 1777
  • Karma: 164
    • View Profile
Re: Firewall errors after upgrade to 22.7
« Reply #2 on: August 23, 2022, 03:25:52 pm »
and "puppet" can not be used as a alias name afaik
« Last Edit: August 23, 2022, 03:44:30 pm by Fright »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 22.7 Legacy Series »
  • Firewall errors after upgrade to 22.7
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2