summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-08-13 15:38:15 -0400
committerjim-p <jimp@pfsense.org>2015-08-13 15:38:15 -0400
commit6b20f38ce03d2c5df89b2f90299073d75f076529 (patch)
tree0ccd87c080e137883566bb12b7328b11d88b3262
parentf6f7f1c244929016d2ab4664df6d969f664a54f0 (diff)
downloadpfsense-6b20f38ce03d2c5df89b2f90299073d75f076529.zip
pfsense-6b20f38ce03d2c5df89b2f90299073d75f076529.tar.gz
The "enableallowallwan" script should also allow bogons, or it makes running test firewalls with RFC5735/6890 test network style WANs a pain.
-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