From owner-freebsd-questions Wed Jun 17 04:42:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA02246 for freebsd-questions-outgoing; Wed, 17 Jun 1998 04:42:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from localhost.zilker.net ([207.8.127.57]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA02232 for ; Wed, 17 Jun 1998 04:42:19 -0700 (PDT) (envelope-from marquard@zilker.net) Received: (from marquard@localhost) by localhost.zilker.net (8.8.8/8.8.3) id GAA16274; Wed, 17 Jun 1998 06:42:08 -0500 (CDT) To: freebsd-questions@FreeBSD.ORG Subject: Re: How to setup a Gateway. References: From: Dave Marquardt Date: 17 Jun 1998 06:41:16 -0500 In-Reply-To: Muthukumar Ratty's message of "Wed, 17 Jun 1998 05:52:58 -0400 (EDT)" Message-ID: <85sol4fe77.fsf@localhost.zilker.net> Lines: 19 X-Mailer: Quassia Gnus v0.22/XEmacs 19.16 - "Lille" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Muthukumar Ratty writes: > How to set up a freebsd gateway (multihomed) that forwards packets > from one network to another (using routed)? routed doesn't forward packets, it exchanges routing information with other routers. Note the following in /etc/rc.conf: gateway_enable="NO" # Set to YES if this host will be a gateway. router_enable="NO" # Set to YES to enable a routing daemon. router="routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. So to be a gateway, change gateway_enable to "YES". To enable a routing daemon, change router_enable to "YES". If you don't like the -q flag to routed, change it. -Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message