Let portredirection be rdr instead of map (which is NAT).
Noticed by: Andrius Paurys <shaman at shaman dot velniai dot net>
This commit is contained in:
parent
5b63fa6aa3
commit
76a6af4884
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=24417
1 changed files with 3 additions and 3 deletions
|
@ -1946,17 +1946,17 @@ block in log first quick on dc0 all
|
|||
address is <hostid role="ipaddr">20.20.20.5</hostid> you would
|
||||
code the rule like this:</para>
|
||||
|
||||
<programlisting>map dc0 20.20.20.5/32 port 80 -> 10.0.10.25 port 80</programlisting>
|
||||
<programlisting>rdr dc0 20.20.20.5/32 port 80 -> 10.0.10.25 port 80</programlisting>
|
||||
|
||||
<para>or:</para>
|
||||
|
||||
<programlisting>map dc0 0/32 port 80 -> 10.0.10.25 port 80</programlisting>
|
||||
<programlisting>rdr dc0 0/32 port 80 -> 10.0.10.25 port 80</programlisting>
|
||||
|
||||
<para>or for a LAN DNS Server on LAN address of <hostid
|
||||
role="ipaddr">10.0.10.33</hostid> that needs to receive
|
||||
public DNS requests:</para>
|
||||
|
||||
<programlisting>map dc0 20.20.20.5/32 port 53 -> 10.0.10.33 port 53 udp</programlisting>
|
||||
<programlisting>rdr dc0 20.20.20.5/32 port 53 -> 10.0.10.33 port 53 udp</programlisting>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
|
|
Loading…
Reference in a new issue