Project

General

Profile

Actions

Regression #11982

closed
JP

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

Regression #11982: Outbound NAT does not create automatic equivalent rules when switching from Automatic to Manual mode

Added by Jim Pingle over 5 years ago. Updated almost 5 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 commit:d2eee7c82191c5870dbf90933c9050bf6dc37c07

VG Updated by Viktor Gurov over 5 years ago Actions #2

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

Applied in changeset commit:ec8adb56d59a293516d1a0a3fb4eb45aad299f5b.

JP Updated by Jim Pingle over 5 years ago Actions #3

  • Release Notes changed from Default to Force Exclusion

JP Updated by Jim Pingle about 5 years ago Actions #4

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

ML Updated by Max Leighton about 5 years ago Actions #5

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

KP Updated by Kris Phillips about 5 years ago Actions #6

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

VG Updated by Viktor Gurov about 5 years ago Actions #7

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

RB Updated by Renato Botelho about 5 years ago Actions #8

  • Status changed from Feedback to Resolved

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

JP Updated by Jim Pingle almost 5 years ago Actions #9

  • Plus Target Version changed from 21.09 to 22.01
Actions

Also available in: Atom