Bug 232042 - [patch] handbook/firewalls: correct two errors related to Packet Filter
Summary: [patch] handbook/firewalls: correct two errors related to Packet Filter
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Documentation (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Gordon Bergling
Keywords: easy, patch
Depends on:
Reported: 2018-10-07 19:56 UTC by Samy Mahmoudi
Modified: 2020-08-01 13:58 UTC (History)
3 users (show)

See Also:

Patch file generated with svn diff (1.44 KB, patch)
2018-10-07 19:56 UTC, Samy Mahmoudi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samy Mahmoudi 2018-10-07 19:56:20 UTC
Created attachment 197884 [details]
Patch file generated with svn diff A Simple Gateway with NAT, in the first paragraph:
xl1 <----> xl0 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
Comment 1 Gordon Bergling freebsd_committer 2020-08-01 10:49:03 UTC
Committed, thanks for the patch!
Comment 2 commit-hook freebsd_committer 2020-08-01 10:49:22 UTC
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

  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

Comment 3 Samy Mahmoudi 2020-08-01 13:58:01 UTC
(In reply to Gordon Bergling from comment #1)
You are welcome ;-)