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:
Remko Lodder 2006-10-13 08:56:12 +00:00
parent cbd82256e9
commit baf1a62ce4
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=28837

View file

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