Project

General

Profile

Actions

Bug #696

closed

Error in NAT rules generating

Added by Mike Stupalov over 14 years ago. Updated over 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Rules / NAT
Target version:
Start date:
06/25/2010
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

reproduce:
1. Set 'Firewall: NAT: Outbound' -> 'Manual Outbound NAT rule generation (Advanced Outbound NAT (AON))'
2. Add some rule with 'Protocol' -> 'TCP/UDP' (can others too), than save and apply.

There are not correct rules pf. Syslog messages:

php: : There were error(s) loading the rules: /tmp/rules.debug:71: syntax error /tmp/rules.debug:72: syntax error /tmp/rules.debug:73: syntax error
pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [71]: nat on $WAN proto tcp/udp from 10.10.32.0/23 to any port 5060 -> 77.222.44.10/32 static-port

Actions

Also available in: Atom PDF