summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions/enableallowallwan
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-26 14:13:36 -0300
committerRenato Botelho <renato@netgate.com>2015-08-26 14:13:36 -0300
commit51950f709f4a9599099d637c384ebf0dde22dbb5 (patch)
treebbf113069081f890d39f0eb42ca5bae6b6964b47 /etc/phpshellsessions/enableallowallwan
parent230483ca722dd6c390edf102802db673204cfab5 (diff)
parent4d9801c2dbd2b3e54a39578ee62b93af66607227 (diff)
downloadpfsense-51950f709f4a9599099d637c384ebf0dde22dbb5.zip
pfsense-51950f709f4a9599099d637c384ebf0dde22dbb5.tar.gz
Merge branch 'master' into bootstrap
Merge to the commit just before move all files to src/
Diffstat (limited to 'etc/phpshellsessions/enableallowallwan')
-rw-r--r--etc/phpshellsessions/enableallowallwan2
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");
OpenPOWER on IntegriCloud