mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Automatic outbound NAT rules skip openvpn interfaces, lets skip them when creating the first set of manual rules too. It fixes #3528
This commit is contained in:
parent
22889e9ee7
commit
e538fc1844
@ -94,6 +94,8 @@ if (isset($_POST['save']) && $_POST['save'] == "Save") {
|
||||
$ifdescrs = get_configured_interface_with_descr();
|
||||
|
||||
foreach($ifdescrs as $if => $ifdesc) {
|
||||
if (substr(get_real_interface($if), 0, 4) == "ovpn")
|
||||
continue;
|
||||
if (!interface_has_gateway($if))
|
||||
continue;
|
||||
foreach ($ifdescrs as $if2 => $ifdesc2) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user