From 267d69d56afd2a2c45594b618a99fc5ceea96de1 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Thu, 20 Jun 1996 17:17:03 +0000 Subject: [PATCH] Update net.inet.ip.forwarding example to give right value. Indicate that gateway in /etc/sysconfig is *really* the correct way if you have an /etc/sysconfig file. Other small tweaks. Requested by: Guy Helmer --- share/doc/handbook/slips.sgml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/share/doc/handbook/slips.sgml b/share/doc/handbook/slips.sgml index 3156e98b46b..df3dc8db4f5 100644 --- a/share/doc/handbook/slips.sgml +++ b/share/doc/handbook/slips.sgml @@ -148,13 +148,18 @@ Internet RFC requirements for Internet hosts (see RFC's 1009 [Requirements for Internet Hosts -- Communication Layers], and perhaps 1127 [A Perspective on the Host Requirements RFCs]), so if you want your FreeBSD SLIP Server to act as a -router, you will have to add the line +router, you will have to edit the /etc/sysconfig file and change +the setting of the gateway variable to YES. If you +have an older system which does not have the /etc/sysconfig +file, then add the following command: -sysctl -w net.inet.ip.forwarding = 0 +sysctl -w net.inet.ip.forwarding = 1 -to your rc.local file. +to your /etc/rc.local file. -You will notice that near the end of the default kernel configuration +

You will then need to reboot for the new settings to take effect. + +

You will notice that near the end of the default kernel configuration file (/sys/i386/conf/GENERIC) is a line that reads: