Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 2000 23:07:06 -0400
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        Enlace Colombia <enlace_colombia@yahoo.es>
Cc:        FreeBSD-questions@FreeBSD.ORG
Subject:   Re: Natd doesnt work.
Message-ID:  <20000515230706.I55458@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <20000516014410.10502.qmail@web4703.mail.yahoo.com>; from enlace_colombia@yahoo.es on Tue, May 16, 2000 at 03:44:10AM %2B0200
References:  <20000516014410.10502.qmail@web4703.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 16, 2000 at 03:44:10AM +0200, Enlace Colombia wrote:
> Hi, i am getting problems with natd, this is my info:
> 
> Server:
> ed0: 
> fxp0: 192.168.0.1
> Clients:
> 192.168.0.2 to 192.168.0.4
> 
> Server's rc.conf:
> ....
> gateway_enable="YES"
> firewall_enable="YES"
> firewall_type="open"
> natd_enable="NO"
> 
> rc.local:
> ....
> natd -f /etc/natd.conf:
> 
> natd.conf:
> alias_address 209.83.250.106
> use_sockets yes
> same_ports yes
> redirect_address 192.168.0.2 209.83.250.106
> redirect_address 192.168.0.3 209.83.250.106
> redirect_address 192.168.0.4 209.83.250.106
> redirect_address 192.168.0.5 209.83.250.106
> 
> 
> Thanks alot for any advice or comment.

First, why not start natd(8) with,

  natd_enable="YES"
  natd_flags="-f /etc/natd.conf
  natd_interface="209.83.250.106"

In rc.conf rather than the rc.local entry. Since rc.local is started
dead last, doing things in that order can break your network startup.

Second, some hints about the "problems" you are getting?
-- 
Crist J. Clark                           cjclark@home.com


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?20000515230706.I55458>