Project

General

Profile

Actions

Regression #11982

closed

Outbound NAT does not create automatic equivalent rules when switching from Automatic to Manual mode

Added by Jim Pingle over 3 years ago. Updated about 3 years ago.

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

100%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Force Exclusion
Affected Version:
Affected Architecture:

Description

When a user switches from Automatic Outbound NAT to Manual Outbound NAT, the GUI is supposed to create a set of static rules which are the equivalent of the automatic set. This is currently broken on CE 2.5.2, CE 2.6.0, and Plus 21.09.

This appears to have been introduced in d2eee7c82191c5870dbf90933c9050bf6dc37c07

Actions #2

Updated by Viktor Gurov over 3 years ago

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

Updated by Jim Pingle over 3 years ago

  • Release Notes changed from Default to Force Exclusion
Actions #4

Updated by Jim Pingle over 3 years ago

Fix was not picked back to 2.5.2, but is now. Will be in future builds.

Actions #5

Updated by Max Leighton over 3 years ago

Tested in 2.6 it is working.

It doesn't seem to have made it to 21.09 current build because when I test in

21.09-DEVELOPMENT (arm64)
built on Sat Jun 05 01:09:01 EDT 2021
FreeBSD 12.2-STABLE

The automatic rules are still not created when switching to manual. And I get PHP errors:

PHP Errors:
[05-Jun-2021 18:15:58 Etc/UTC] PHP Warning: Invalid argument supplied for foreach() in /usr/local/pfSense/include/www/firewall_nat_out.inc on line 69
[05-Jun-2021 18:16:22 Etc/UTC] PHP Warning: Invalid argument supplied for foreach() in /usr/local/pfSense/include/www/firewall_nat_out.inc on line 69

Actions #6

Updated by Kris Phillips over 3 years ago

Verified problem exists on Jun 5th build of 21.09.

Build Info:
21.09-DEVELOPMENT (arm)
built on Sat Jun 05 01:08:58 EDT 2021
FreeBSD 12.2-STABLE

Actions #7

Updated by Viktor Gurov over 3 years ago

Max Leighton wrote:

Tested in 2.6 it is working.

It doesn't seem to have made it to 21.09 current build because when I test in

21.09-DEVELOPMENT (arm64)
built on Sat Jun 05 01:09:01 EDT 2021
FreeBSD 12.2-STABLE

The automatic rules are still not created when switching to manual. And I get PHP errors:

PHP Errors:
[05-Jun-2021 18:15:58 Etc/UTC] PHP Warning: Invalid argument supplied for foreach() in /usr/local/pfSense/include/www/firewall_nat_out.inc on line 69
[05-Jun-2021 18:16:22 Etc/UTC] PHP Warning: Invalid argument supplied for foreach() in /usr/local/pfSense/include/www/firewall_nat_out.inc on line 69

same issue on 21.09.a.20210607.1300 - fix was not picked to 21.09

Actions #8

Updated by Renato Botelho over 3 years ago

  • Status changed from Feedback to Resolved

Confirmed fix. It will reach 21.09 on next round of merges.

Actions #9

Updated by Jim Pingle about 3 years ago

  • Plus Target Version changed from 21.09 to 22.01
Actions

Also available in: Atom PDF