Regression #11751
closed
Input validation prevents creating 1:1 NAT rules on IPsec
Added by Steve Wheeler over 3 years ago.
Updated over 3 years ago.
Plus Target Version:
21.05
Affected Architecture:
All
Description
Additional input validation in the GUI in 21.02/2.5 prevents creating a 1:1 NAT rule on the IPSec interface because it expects an IP family and enc doesnot have one:
The following input errors were detected:
The interface do not have address from the specified address family.
Should also read "interface does not have address".
This is an edge case because NAT is not expected to work on IPSec. However there are situation where us can work and did in pfSense < 2.5.
Specifically if the P2 in use carries 0.0.0.0/0 it will carry the NAT'd traffic still.
This only applies to 1:1 NAT
Tested in:
21.02.2-RC (arm64)
built on Mon Mar 29 03:04:00 EDT 2021
FreeBSD 12.2-STABLE
Files
- Tracker changed from Bug to Regression
- Status changed from New to Pull Request Review
Tested here against 21.02 snapshot. Works as expected.
This bug quite ruined our environment.
Will be very greatfull for hotfix.
Hi Victor:
Please could you share again the fix, cause he link looks like it is dead.
Thank you
Fiden Galvez wrote:
Hi Victor:
Please could you share again the fix, cause he link looks like it is dead.
- Status changed from Pull Request Review to Feedback
- Target version changed from CE-Next to 2.6.0
- Plus Target Version set to 21.05
- Subject changed from Input validation prevents 1:1 NAT rules on IPSec to Input validation prevents creating 1:1 NAT rules on IPsec
- Category changed from Web Interface to Rules / NAT
Updating subject for release notes.
Hi,
I've applied the patch to pfsense 2.5.1 (Using system patch) and 2.5.0 (manually) but I'm still unable to create a 1:1 NAT with aliases.
Regards
- Target version changed from 2.6.0 to 2.5.2
- Status changed from Feedback to Closed
- Assignee set to Viktor Gurov
Also available in: Atom
PDF