https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213154
Bug ID: 213154
Summary: ipfw nat single pass with ipfw netgraph multi pass
Product: Base System
Version: 11.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Created attachment 175361
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175361&action=edit
Proposed patch
It is very difficult to get ipfw nat to work with stateful firewall (keep-state
and check-state) in multi pass mode. The issue is that the state rules have to
come after the nat rules. This makes keep-state see the external IP while
check-state sees the internal IP and it doesn't work. Easier just to use
single pass.
Unfortunately you can't use single pass with certain netgraph nodes like
tcpmss. The packets need to come back.
So I propose we add an additional net.inet.ip.fw.one_pass_nat knob to enable
one pass nat when net.inet.ip.fw.one_pass is set to 0 for netgraph, pipes and
queues.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"