Skip site navigation (1)Skip section navigation (2)
Date:      17 Jun 1998 06:41:16 -0500
From:      Dave Marquardt <marquard@zilker.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How to setup a Gateway.
Message-ID:  <85sol4fe77.fsf@localhost.zilker.net>
In-Reply-To: Muthukumar Ratty's message of "Wed, 17 Jun 1998 05:52:58 -0400 (EDT)"
References:  <Pine.GSO.3.96.980617054045.7215V-100000@moving-stone.rutgers.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Muthukumar Ratty <muthur@moving-stone.rutgers.edu> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85sol4fe77.fsf>