Created attachment 197884 [details]
Patch file generated with svn diff
18.104.22.168. A Simple Gateway with NAT, in the first paragraph:
xl1 <----> xl0
22.214.171.124. 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.