Correct the example for the gif devices in the security chapter.
PR: docs/101001 Reported by: Adam <ablake at mac dot com>
This commit is contained in:
parent
cbd82256e9
commit
baf1a62ce4
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=28837
1 changed files with 1 additions and 1 deletions
|
@ -3565,7 +3565,7 @@ Destination Gateway Flags Refs Use Netif Expire
|
|||
<para>Edit <filename>/etc/rc.conf</filename> on gateway host
|
||||
#1 and add the following lines (replacing IP addresses as
|
||||
necessary).</para>
|
||||
<programlisting>gifconfig_gif0="A.B.C.D W.X.Y.Z"
|
||||
<programlisting>ifconfig_gif0="tunnel A.B.C.D W.X.Y.Z"
|
||||
ifconfig_gif0="inet 192.168.1.1 192.168.2.1 netmask 0xffffffff"
|
||||
static_routes="vpn"
|
||||
route_vpn="192.168.2.0 192.168.2.1 netmask 0xffffff00"
|
||||
|
|
Loading…
Reference in a new issue