Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2000 14:11:12 -0800 (PST)
From:      FreeBSD <freebsd@mail.pacificnet.com.mx>
To:        questions@freebsd.org
Subject:   NAT question..
Message-ID:  <Pine.BSF.4.10.10003031352320.53830-100000@mail.pacificnet.com.mx>

next in thread | raw e-mail | index | archive | help

Hi !

I ' running a 3.4-STABLE box w/NAT and a network with the followin
topology :

	       	
INTERNET--cisco--NAT Server--LANCITY1--micom1--DS0--micom2--LANCITY2
       

The city 1 LAN works just fine (internet,ping lan city2 and micom
different ports eth and serial).

The city 2 LAN reach any host of City 1 LAN included the eth interface
with the fake IP on NAT server but can't go out to the internet or even
ping the eth interface with the legal IP.

NAT eth Legal IP : 148.245.x.x
NAT eth fake IP 102.1.1.60
Micom city 1 WAN port : 200.1.1.3
MIcom city 2 WAN port : 200.1.1.2 (both can be reached from the NAT
server)
city 2 LAn subnet : 101.1.1.0

My NAT config (rc.firewall) :
/sbin/ipfw add divert natd all from any to any via xl0 (legal nic)

(rc.conf)

natd_program="/sbin/natd"
natd_enable="NO"
natd_interface="xl0"
natd_flags="-use_sockets -same_ports -unregistered_only -dynamic"

Can any of you point me in how to configure this server in order that
other subnet can go to the internet.

Thanks in advance.





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?Pine.BSF.4.10.10003031352320.53830-100000>