diff options
author | jim-p <jimp@pfsense.org> | 2015-08-13 15:38:15 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-08-13 15:43:43 -0400 |
commit | 00b8b2eca28c5d7911b132ff581ed481e1d75abe (patch) | |
tree | 52f88d75c89bc6172b37abc769ba0654423ba124 | |
parent | a369fe71ad18c5f6b8de6d06d9b01dc5509840ec (diff) | |
download | pfsense-00b8b2eca28c5d7911b132ff581ed481e1d75abe.zip pfsense-00b8b2eca28c5d7911b132ff581ed481e1d75abe.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/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"); |