Date: Wed, 1 Jul 1998 10:53:57 +0800 (SGT) From: Wong Keng Har <khwong@asiapac.net> To: freebsd-questions@FreeBSD.ORG Subject: natd Message-ID: <Pine.SOL.3.96.980701104153.1660E-100000@topgun>
next in thread | raw e-mail | index | archive | help
hi,
I am running natd and ipfw on 2.2.5 machine.
I am able to redirect my private network to outside but I am not able to
do it in the other way.
(private net (firewall) (public net)
ep1 ep0
172.1.1.2 --------172.1.1.1 202.188.0.98------ 202.188.0.x
how do i redirect from 202.188.0.98 to my internal server(172.1.1.2) ?
my settings
===========
/etc/natd.cf
redirect_address 172.1.1.2 202.188.0.98
redirect_port 172.1.1.2:80 202.188.0.98:80
/etc/services
natd 6668/divert
firewall rules
ipfw -f flush
ipfw add divert natd all from any to any via ep0
ipfw add pass all from any to any
running natd
natd -f natd.cf
anything wrong for my settings ?
Please email to me . TIA
Alice
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.SOL.3.96.980701104153.1660E-100000>
