Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    IPENCAP not listed in /usr/local/www/firewall_rules_edit.php etc

    Scheduled Pinned Locked Moved Firewalling
    1 Posts 1 Posters 210 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      JHK
      last edited by

      I can no longer add IP protocols such as IPENCAP in /usr/local/www/firewall_rules_edit.php due to PHP version changes in pfSense 2.7.
      Seems like get_ipprotocls() call for the list of ip protocols such as UDP / TCP / IGMP etc but cannot find how / where to o add new one like IPENCAP.
      Anyone knows how to add one? Older PHP was easier to add one because protocols list was written directly in respective php files, but it's not in there anymore.

      $section->addInput(new Form_Select(
      'proto',
      '*Protocol',
      $pconfig['proto'],
      get_ipprotocols()
      ))->setHelp('Choose which IP protocol this rule should match.');

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.