summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-03-18 15:09:45 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-03-18 15:09:45 -0300
commite538fc18448bc2444ea3dce995aa90b717459043 (patch)
tree4034b67d6f9ad860e99c8929c6536139664e2e39 /usr/local/www
parent22889e9ee775c0bb5cda64b781e0c94bd8510f3e (diff)
downloadpfsense-e538fc18448bc2444ea3dce995aa90b717459043.zip
pfsense-e538fc18448bc2444ea3dce995aa90b717459043.tar.gz
Automatic outbound NAT rules skip openvpn interfaces, lets skip them when creating the first set of manual rules too. It fixes #3528
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/firewall_nat_out.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index 5d40aa5..4cbda7b 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -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) {
OpenPOWER on IntegriCloud