mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
The "enableallowallwan" script should also allow bogons, or it makes running test firewalls with RFC5735/6890 test network style WANs a pain.
This commit is contained in:
parent
a369fe71ad
commit
00b8b2eca2
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user