diff options
-rw-r--r-- | etc/inc/filter.inc | 2 | ||||
-rwxr-xr-x | usr/local/www/firewall_nat_out.php | 10 |
2 files changed, 0 insertions, 12 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 063efd6..46e50ce 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1242,8 +1242,6 @@ function filter_nat_rules_generate() { $natrules .= filter_nat_rules_generate_if($if, "{$macroortable}", 500, "", 500, $target, 500, false); $natrules .= filter_nat_rules_generate_if($if, - "{$macroortable}", 5060, "", 5060, $target, 5060, false); - $natrules .= filter_nat_rules_generate_if($if, "{$macroortable}", null, "", null, $target, null, isset($ifcfg['nonat'])); $natrules .= "\n"; } diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php index 2039848..d387385 100755 --- a/usr/local/www/firewall_nat_out.php +++ b/usr/local/www/firewall_nat_out.php @@ -114,16 +114,6 @@ if (isset($_POST['save']) && $_POST['save'] == "Save") { $natent['destination']['any'] = true; $natent['staticnatport'] = true; $a_out[] = $natent; - - $natent = array(); - $natent['source']['network'] = "{$osn}/{$ossubnet}"; - $natent['dstport'] = "5060"; - $natent['descr'] = sprintf(gettext("Auto created rule for SIP - %s to %s"),$ifdesc,$ifdesc2); - $natent['target'] = ""; - $natent['interface'] = $if2; - $natent['destination']['any'] = true; - $natent['staticnatport'] = true; - $a_out[] = $natent; $natent = array(); $natent['source']['network'] = "{$osn}/{$ossubnet}"; |