Created attachment 197884 [details] Patch file generated with svn diff 30.3.3.1. A Simple Gateway with NAT, in the first paragraph: xl1 <----> xl0 30.3.3.1. A Simple Gateway with NAT, between the variables of /etc/rc.conf and the first filtering rules: allows stateful traffic to pass from the Internet to hosts on the network ----> allows stateful traffic from hosts of the internal network to pass to the gateway N.B. These errors are confirmed by the translation rule found further below and the subsequent explanation. Reference: https://www.freebsd.org/doc/handbook/firewalls-pf.html
Committed, thanks for the patch!
A commit references this bug: Author: gbe Date: Sat Aug 1 10:48:28 UTC 2020 New revision: 54389 URL: https://svnweb.freebsd.org/changeset/doc/54389 Log: Handbook/Firewalls: correct the network devices in the NAT example PR: 232042 Submitted by: Samy Mahmoudi <samy dot mahmoudi at gmail dot com> Reviewed by: bcr Approved by: bcr Differential Revision: https://reviews.freebsd.org/D25652 Changes: head/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml
(In reply to Gordon Bergling from comment #1) You are welcome ;-)