- Add some missing tags and entities
- Some rewordings
This commit is contained in:
parent
01ce6c4c72
commit
c80e894ad4
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=22997
1 changed files with 8 additions and 9 deletions
|
@ -3725,11 +3725,11 @@ sh /etc/ipf.rules.script</programlisting>
|
|||
<sect3>
|
||||
<title>Rule Syntax</title>
|
||||
<para>The rule syntax presented here has been simplified to only
|
||||
address the modern stateful rule context and 'first matching
|
||||
rule wins' logic. For the complete legacy rule syntax
|
||||
description see the online ipf manual page at &man.ipf.8;</para>
|
||||
address the modern stateful rule context and <quote>first matching
|
||||
rule wins</quote> logic. For the complete legacy rule syntax
|
||||
description see the &man.ipf.8; manual page.</para>
|
||||
|
||||
<para># is used to mark the start of a comment and may appear at
|
||||
<para><literal>#</literal> is used to mark the start of a comment and may appear at
|
||||
the end of a rule line or on its own lines. Blank lines are
|
||||
ignored.</para>
|
||||
|
||||
|
@ -4376,15 +4376,14 @@ block in log first quick on dc0 all
|
|||
|
||||
<para>The rule syntax presented here has been simplified to
|
||||
what is most commonly used in a non-commercial environment.
|
||||
For a complete rule syntax description see the ipf manual page
|
||||
at &man.ipnat.5;.</para>
|
||||
For a complete rule syntax description see the &man.ipnat.5; manual page.</para>
|
||||
|
||||
<para>The syntax for a <acronym>NAT</acronym> rule looks something like this:
|
||||
</para>
|
||||
|
||||
<programlisting>map <replaceable>IF</replaceable> <replaceable>LAN_IP_RANGE</replaceable> -> <replaceable>PUBLIC_ADDRESS</replaceable></programlisting>
|
||||
|
||||
<para>The keyword `map' starts the rule.</para>
|
||||
<para>The keyword <literal>map</literal> starts the rule.</para>
|
||||
|
||||
<para>Replace <replaceable>IF</replaceable> with the external
|
||||
interface.</para>
|
||||
|
@ -4840,7 +4839,7 @@ options IPV6FIREWALL_DEFAULT_TO_ACCEPT</programlisting>
|
|||
<para>The rule syntax presented here has been simplified to
|
||||
what is necessary to create a standard inclusive type
|
||||
firewall rule set. For a complete rule syntax description
|
||||
see the online &man.ipfw.8; manual page.</para>
|
||||
see the &man.ipfw.8; manual page.</para>
|
||||
|
||||
<para>Rules contain keywords, These keywords have to be coded
|
||||
in a specific order from left to right on the line. Keywords
|
||||
|
@ -4848,7 +4847,7 @@ options IPV6FIREWALL_DEFAULT_TO_ACCEPT</programlisting>
|
|||
which may be keywords them selves and also include more
|
||||
sub-options.</para>
|
||||
|
||||
<para># is used to mark the start of a comment and may appear
|
||||
<para><literal>#</literal> is used to mark the start of a comment and may appear
|
||||
at the end of a rule line or on its own lines. Blank lines
|
||||
are ignored.</para>
|
||||
|
||||
|
|
Loading…
Reference in a new issue