Skip to content

4.3 Configuration Range

Gurdeep Singh (Guru) edited this page Aug 10, 2024 · 1 revision

Configuration - Range

PHPFirewall, along with filtering ipv4 and ipv6 ranges, can filter private and reserved address ranges.

Via CLI

admin@phpterminal:firewall(config)# set range private disable

SET RANGE PRIVATE DISABLE OUTPUT
FIREWALL DETAILS > STATUS : disable
FIREWALL DETAILS > FILTER_IPV4 : Yes
FIREWALL DETAILS > FILTER_IPV6 : Yes
FIREWALL DETAILS > ALLOW_PRIVATE_RANGE : No
FIREWALL DETAILS > ALLOW_RESERVED_RANGE : Yes
...

admin@phpterminal:firewall(config)#

Via PHP Firewall Class

$firewall->setConfigRange('private', 'disable');