From owner-freebsd-questions Fri Dec 1 1: 7:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from www.mvsk.ac.th (www.mvsk.ac.th [203.150.186.20]) by hub.freebsd.org (Postfix) with ESMTP id 9FE7637B402 for ; Fri, 1 Dec 2000 01:07:46 -0800 (PST) Received: from localhost (localhost [[UNIX: localhost]]) by www.mvsk.ac.th (8.9.3/8.9.1) id QAA02573; Fri, 1 Dec 2000 16:07:15 +0700 Message-Id: <200012010907.QAA02573@www.mvsk.ac.th> Content-Transfer-Encoding: 8bit Date: Fri, 01 Dec 2000 16:07:14 +0700 From: bpirorm To: freebsd-questions@freebsd.org X-Mailer: IMHO for Roxen MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: How to set this on FreeBSD box ? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm FreeBSD newbie. In linux I can set (in /etc/rc.d/rc.local) ifconfig eth0:1 192.168.1.1 netmask 255.255.255.0 up route add -net 192.168.1.0 netmask 255.255.255.0 eth0:1 ipfwadm -F -p deny ipfwadm -F -a m -S 192.168.1.1/32 -D 0.0.0.0/0 ipfwadm -F -a m -S 192.168.1.2/32 -D 0.0.0.0/0 ipfwadm -F -a m -S 192.168.1.3/32 -D 0.0.0.0/0 ipfwadm -F -a m -S 192.168.1.4/32 -D 0.0.0.0/0 for one network card (2 IPs - one for private ip and one for public ip) and run squid for my network cache proxy. (On this linux box act as web server database server and proxy server). How can I set FreeBSD(3.4) for this purpose and what files related for this job.? (I want to make FBSD box instead old linux) . Please advise me for to make this? Thanks bpirom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message