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
URL:
Keywords: easy, patch
Depends on:
Blocks:
 
Reported: 2018-10-07 19:56 UTC by Samy Mahmoudi
Modified: 2020-08-01 13:58 UTC (History)
3 users (show)

See Also:


Attachments
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

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
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

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
Comment 3 Samy Mahmoudi 2020-08-01 13:58:01 UTC
(In reply to Gordon Bergling from comment #1)
You are welcome ;-)