Project

General

Profile

Actions

Bug #1083

closed

aliases cause error when creating NAT 1:1 rules

Added by Ryan Perkins almost 11 years ago. Updated almost 11 years ago.

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

100%

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

Description

I can create 1:1 NAT rules using IP Addresses, for instance entering 192.168.1.3 as a source IP.
Creating an alias with 192.168.1.3 as the host and trying to use that as the source results in the error:

There were error(s) loading the rules: /tmp/rules.debug:75: invalid use of table <bomgar_host> as the source address of a binat rule
pfctl: Syntax error in config file: pf rules not loaded The line in question reads [75]: binat on em0 from $bomgar_host to any -> yy.yy.yy.yy.

Actions #1

Updated by Jim Pingle almost 11 years ago

  • Project changed from pfSense Packages to pfSense
Actions #2

Updated by Chris Buechler almost 11 years ago

  • Category set to Rules / NAT
  • Target version set to 2.0

just need to remove alias capabilities from 1:1 NAT for now (it's not valid syntax in PF, though it's simply user space limitation not kernel, Ermal can fix for a future release)

Actions #3

Updated by Pierre POMES almost 11 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Alias capabilities is now removed from fields not working with aliases (autocompletion and validation).

Actions #4

Updated by Chris Buechler almost 11 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF