diff options
-rw-r--r-- | etc/phpshellsessions/enableallowallwan | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/phpshellsessions/enableallowallwan b/etc/phpshellsessions/enableallowallwan index 94c0b7b..5ce4f0f 100644 --- a/etc/phpshellsessions/enableallowallwan +++ b/etc/phpshellsessions/enableallowallwan @@ -24,6 +24,8 @@ $filterent["descr"] = "Allow all ipv6 via pfSsh.php"; $config["filter"]["rule"][] = $filterent; echo "Turning off block private networks (if on)...\n"; unset($config["interfaces"]["wan"]["blockpriv"]); +echo "Turning off block bogon networks (if on)...\n"; +unset($config["interfaces"]["wan"]["blockbogons"]); unlink_if_exists("/tmp/config.cache"); write_config("pfSsh.php added allow all wan rule"); unlink_if_exists("/tmp/config.cache"); |