Skip site navigation (1)Skip section navigation (2)
Date:      5 Oct 1999 04:53:50 -0000
From:      Yusuf Goolamabbas <yusufg@outblaze.com>
To:        freebsd-questions@freebsd.org, freebsd-net@freebsd.org
Subject:   Trying to achieve zen with natd
Message-ID:  <19991005045350.11294.qmail@yusufg.portal2.com>

next in thread | raw e-mail | index | archive | help
Hi, I have a FreeBSD 3.3-stable box with 2 NIC cards each bound to
static IP's and different ISP WAN interfaces (fxp0 and fxp1)
fxp0 is connected to a /25 network
fxp1 is connected to a /26 network

Default router is fxp1

I would like to configure this box to act as a NATD box. Set the right 
kernel config and recompile the kernel

/etc/rc.conf

gateway_enable="YES"
firewall_enable="YES"
firewall_type="open"
natd_enable = "YES"
natd_interface = "fxp1" #Assuming this will take the public interface
natd_flags = "-u"


I did the following in /etc/rc.local

ifconfig fxp1 alias 192.168.0.1 netmask 255.255.255.0

Setup a Windows box with IP 192.168.0.2 and gateway 192.168.0.1
I can ping the gateway box, however I can't seem to get out to either
the /25 network or the /26 network

What am I missing ??

Thanks, Yusuf

-- 
Yusuf Goolamabbas
yusufg@outblaze.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?19991005045350.11294.qmail>