Project

General

Profile

Actions

Bug #3106

closed

NAT forward rule error

Added by Jevgenijus S over 8 years ago. Updated over 8 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0.x
Affected Architecture:
All

Description

I need to create internal port forwarding for SMTP with some exclutiosn, all SMTP goes to 192.168.0.15 except some IP address/alias (213.xx.xx.xx)

Firewall: NAT: Port Forward rule
LAN2 TCP 192.167.0.0/16 * ! 213.xx.xx.xx 25 (SMTP) 192.168.0.15 25 (SMTP) SMTP transparent2

So, if in rule exist !(not) - Firewall filter shows an error:
php: : There were error(s) loading the rules: /tmp/rules.debug:415: syntax error pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [415]: rdr on { em1 pptp } proto tcp from 192.167.0.0/16 to ! port 25 tag PFREFLECT -> 127.0.0.1 port 19095

Actions #1

Updated by Renato Botelho over 8 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Renato Botelho over 8 years ago

  • Affected Architecture All added
  • Affected Architecture deleted (amd64)
Actions #5

Updated by Chris Buechler over 8 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF