]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf tests: Test multi-wan rdr
authorKristof Provost <kp@FreeBSD.org>
Tue, 6 Apr 2021 11:25:49 +0000 (13:25 +0200)
committerKristof Provost <kp@FreeBSD.org>
Mon, 19 Apr 2021 08:20:33 +0000 (10:20 +0200)
commit8ca8248886af583fa2010badfe03e472d8505db8
tree9760dd1622f44761575a583a7dc1dffca69298ce
parenta19dad31b1503e0ee512e5f1cd21b671143bf5c8
pf tests: Test multi-wan rdr

This replicates an issue observed on pfSense: https://redmine.pfsense.org/issues/11436

In essence, reply-to is needed to ensure that connections always leave
the WAN interface they came in on, but this confused the state tracking.

MFC after: 2 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit f37667e2359245ad123fd775c072fd82c81bc476)
tests/sys/netpfil/pf/route_to.sh