mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
IPSec / routed (VTI), we shouldn't add route-to rules for ipsec interfaces, but the same likely counts for all that's plugged in automatically. for https://github.com/opnsense/core/issues/2332
This commit is contained in:
parent
139ef623dc
commit
ee8fd03c33
@ -510,7 +510,7 @@ function filter_core_rules_system($fw, $defaults)
|
||||
// This behaviour can be disabled, so settings can be customized using manual firewall rules.
|
||||
if (empty($config['system']['pf_disable_force_gw'])) {
|
||||
foreach ($fw->getInterfaceMapping() as $ifdescr => $ifcfg) {
|
||||
if (!isset($ifcfg['virtual']) && $ifcfg['if'] != 'lo0') {
|
||||
if (!isset($ifcfg['internal_dynamic']) && $ifcfg['if'] != 'lo0') {
|
||||
$intf_has_v4 = false;
|
||||
$intf_has_v6 = false;
|
||||
foreach (legacy_getall_interface_addresses($ifcfg['if']) as $addr) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user