Skip to content

4.2 Configuration Filter

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

Configuration - Filter (ipv4/ipv6)

PHPFirewall can filter both version of IP ranges. You can enable/disable them if needed.

Via CLI

admin@phpterminal:firewall(config)# set filter v6 disable

SET FILTER V6 DISABLE OUTPUT
FIREWALL DETAILS > STATUS : enable
FIREWALL DETAILS > FILTER_IPV4 : Yes
FIREWALL DETAILS > FILTER_IPV6 : No
...

admin@phpterminal:firewall(config)#

Via PHP Firewall Class

$firewall->setConfigFilter('v6', 'disable');