Date: Tue, 23 Apr 2002 07:49:49 -0500 From: "Jack L. Stone" <jack@sage-one.net> To: Nick Rogness <nick@rogness.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Routed daemon Message-ID: <3.0.5.32.20020423074949.011fa098@mail.sage-one.net> In-Reply-To: <Pine.BSF.4.21.0204230006020.71036-100000@cody.jharris.com> References: <3.0.5.32.20020422221405.011fa098@mail.sage-one.net>
next in thread | previous in thread | raw e-mail | index | archive | help
At 12:10 AM 4.23.2002 -0500, Nick Rogness wrote: >On Mon, 22 Apr 2002, Jack L. Stone wrote: > >> Running FBSD 4.5-release > >> I'm hitting a brick wall in getting the gateway interface alias to >> forward all incoming packets from the public interface to a web server >> on another server on the LAN. The packets are coming in to the gateway >> server and supposed to be forwarded according to the address redirect. >> The netstat -r shows that the routing tables look correct, so am >> stumped. >> >> In looking for a solution, I wondered about the routed daemon which >> comes with the base system. I had read that it runs by default, but a >> ps -auxw | grep routed does not show the routed at all. > > > It only runs if you enable it via /etc/rc.conf > >> >> Also, see that the rc.conf can be configured to run routed at boot, >> that is, if it's not running silently somewhere...and if I need it. >> From reading routed(8), it sounds like the a missing ingredient. >> >> This really must a stupid question, but could the the routed daemon, >> or lack of, be my problem of forwarding the packets properly...????? >> Really a "green" question, but I'm still learning this stuff.... so, >> does the routed daemon need to be launched at bootup...???? > > You need to forward packets between interfaces which can be > accomlished by setting: gateway_enable="YES" in /etc/rc.conf > and reboot. > > You can check the status of it by: > > # sysctl net.inet.ip.forwarding > net.inet.ip.forwarding: 1 > > It should say 1 not 0. > Hi, Nick: It indeed says "1"...... but, I do not have the routed daemon set in rc.conf and wondered if this was the problem. Also, server #2 is set to look to server #1 as the defaultrouter, but I do not have gateway enabled on server #2... should it be...?? ...and should the routed daemon be enabled to solve this barrier problem....?? I'm just missing some simple setting and looking for anything.... .... our website: http://www.sage-one.net/ Best regards, Jack L. Stone Server Admin 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?3.0.5.32.20020423074949.011fa098>
