diff options
Diffstat (limited to 'etc/phpshellsessions/enableallowallwan')
-rw-r--r-- | etc/phpshellsessions/enableallowallwan | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/etc/phpshellsessions/enableallowallwan b/etc/phpshellsessions/enableallowallwan index 152665a..59ab38b 100644 --- a/etc/phpshellsessions/enableallowallwan +++ b/etc/phpshellsessions/enableallowallwan @@ -10,7 +10,17 @@ $filterent["source"]["any"] = ""; $filterent["destination"]["any"] = ""; $filterent["statetype"] = "keep state"; $filterent["os"] = ""; -$filterent["descr"] = "Allow all via pfSsh.php"; +$filterent["descr"] = "Allow all ipv4 via pfSsh.php"; +$config["filter"]["rule"][] = $filterent; +$filterent = array(); +$filterent["type"] = "pass"; +$filterent["ipprotocol"] = "inet6"; +$filterent["interface"] = "wan"; +$filterent["source"]["any"] = ""; +$filterent["destination"]["any"] = ""; +$filterent["statetype"] = "keep state"; +$filterent["os"] = ""; +$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"]); |