Tell that setting gateway_enable="YES" will make a persistent
change after a reboot. Also mention that one can use sysctl net.inet.ip.forwarding=1 to enable the gateway setting immediatly. Found while: translating for the doc-nl project
This commit is contained in:
parent
a53a2a3df0
commit
7ca8ef2c44
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=33568
1 changed files with 6 additions and 3 deletions
|
@ -2899,10 +2899,13 @@ water.CS.Example localhost.Example. UGH 34 47641234 lo0 - 0.438
|
|||
If you want your FreeBSD SLIP Server to act as a router, you
|
||||
will have to edit the <filename>/etc/rc.conf</filename> file and
|
||||
change the setting of the <literal>gateway_enable</literal> variable
|
||||
to <option>YES</option>.</para>
|
||||
to <option>YES</option>. This will make sure that setting the
|
||||
routing option will be persistent after a reboot.</para>
|
||||
|
||||
<para>You will then need to reboot for the new settings to take
|
||||
effect.</para>
|
||||
<para>To apply the settings immediatly you can execute the
|
||||
following command as <username>root</username>:</para>
|
||||
|
||||
<screen>&prompt.root; sysctl net.inet.ip.forwarding=1</screen>
|
||||
|
||||
<para>Please refer to <xref linkend="kernelconfig"> on
|
||||
Configuring the FreeBSD Kernel for help in
|
||||
|
|
Loading…
Reference in a new issue