From owner-freebsd-questions Sat Dec 2 20:34:25 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 519DD37B400 for ; Sat, 2 Dec 2000 20:34:20 -0800 (PST) Received: from localhost (localhost [[UNIX: localhost]]) by www.mvsk.ac.th (8.9.3/8.9.1) id LAA00487; Sun, 3 Dec 2000 11:41:30 +0700 Message-Id: <200012030441.LAA00487@www.mvsk.ac.th> Content-Transfer-Encoding: 8bit Date: Sun, 03 Dec 2000 11:41:30 +0700 From: bpirorm To: jkb@best.com 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