Page MenuHomeVyOS Platform

Destination Nat not Making Firewall Rules
Closed, ResolvedPublicBUG

Description

In the latest rolling release, I found that the desination NAT firewall rules were not working. Documentation says to create the following firewall rule:

foreach ($list as $item) {

set firewall ipv4 forward filter rule 10 action accept
set firewall ipv4 forward filter rule 10 connection-status nat destination
set firewall ipv4 forward filter rule 10 state new enable

  work_miracles($item);
}

However it didn't seem to work. I manually created the firewall rules and all of my DNAT started working. I had this configuration in a previous rolling release so this is a loss of functionality.

Details

Difficulty level
Easy (less than an hour)
Version
1.5-rolling-202403020021, 1.4.0-epa1
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

n.fort changed the task status from Open to In progress.Mar 5 2024, 11:04 AM
n.fort claimed this task.
n.fort changed Version from 1.5-rolling-202403020021 to 1.5-rolling-202403020021, 1.4.0-epa1.
n.fort changed Issue type from Feature/functionality removal to Bug (incorrect behavior).
n.fort changed the task status from In progress to Needs testing.Mar 6 2024, 1:27 PM