Date: Sat, 10 Apr 1999 21:44:27 +0800 (CST) From: Que Hongyu <qhy@hw.ia.ac.cn> To: net@freebsd.org Subject: NAT help Message-ID: <Pine.BSF.4.05.9904102138260.5394-100000@freebsd.hanwang.com.cn>
next in thread | raw e-mail | index | archive | help
Hi, I am using 3.1-RELEASE and want to use NAT. here is my situation: I have only one net card with primiary IP: 159.226.21.172/255.255.255.192 I add alias to it, 10.1.1.1/24. then I want to NAT 10.1.1.0/24 to outside internet. After reading some document, I have tried add options IPFIREWALL options IPDIRVERT options IPFIREWALL_DEFAULT_TO_ACCEPT plus, ipfw add divert all from any to any via ed1 But It does not work , can anyone give me some hints? Thanks Que Hongyu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" 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.05.9904102138260.5394-100000>