]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
firewall: Explicitely don't NAT any aliases
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 31 Mar 2025 14:35:26 +0000 (16:35 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 31 Mar 2025 14:35:26 +0000 (16:35 +0200)
commit1a8ccf99577c890a95e368ab8f6aa35af1b98210
tree121a89ca9f1b84ab9c527eef3319064755e32365
parentfe0cab302ee9a5dbef49b98ce765c8269ce5f0b3
firewall: Explicitely don't NAT any aliases

It seems that there is a problem with local connections that have
preselected an outgoing interface. That will work just fine, but
ultimately the packet will be NATed back to the primary RED IP address.
To prevent this, we are adding some extra rules that skip the MASQUERADE
target.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/firewall
src/initscripts/system/functions