From owner-freebsd-hackers Tue May 13 23:51:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA03575 for hackers-outgoing; Tue, 13 May 1997 23:51:55 -0700 (PDT) Received: from Radford.i-Plus.net (root@Radford.i-Plus.net [206.99.237.6]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA03563 for ; Tue, 13 May 1997 23:51:52 -0700 (PDT) Received: from abyss (pitlord@Abyss.i-Plus.net [206.99.237.44]) by Radford.i-Plus.net (8.8.5/8.8.5) with SMTP id CAA02338; Wed, 14 May 1997 02:49:28 -0400 (EDT) Message-Id: <199705140649.CAA02338@Radford.i-Plus.net> X-Mailer: Microsoft Outlook Express 4.71.0544.0 From: "Troy Settle" To: , "Joachim Kuebart" Subject: IP forwarding - gateway??? (WAS: Re: IP filtering?) Date: Wed, 14 May 1997 02:51:57 -0400 X-Priority: 3 X-MSMail-Priority: Normal MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-MimeOLE: Produced By Microsoft MimeOLE Engine V4.71.0544.0 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk From: Joachim Kuebart >Hi! > >What exactly does the > sysctl net.inet.ip.forwarding >switch do? hehe.. I just had my first fight with this. What it does, is enable simple IP forwarding. I can't offer much more of an explination, but here's what I've now got set up: One computer dials into my terminal server at work, and is assigned an IP. The terminal server is also configured to route any traffic for a /29 subnet to that IP. On my computer, I enable net.inet.ip.forwarding, and am able to have up to 6 computers (limited by the range of the subnet) in my home connected to the internet over a single dial-up connection. To go off on a tangent, I had a difficult time figuring out how to do this, because I was told that it was possible without running a routed or gated on my system. In /etc/sysconfig, the name of the option is 'gateway', and I automatically associated this with gated. Maybe this option should be renamed to 'ip_forwarding' in future releases. I feel that this would help reduce confusion for others as they too start to play with different network configurations. -- Troy Settle Network Administrator, iPlus Internet Services http://www.i-Plus.net