Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Dec 2000 16:07:14 +0700
From:      bpirorm <bpirom@mvsk.ac.th>
To:        freebsd-questions@freebsd.org
Subject:   How to set  this on FreeBSD box ?
Message-ID:  <200012010907.QAA02573@www.mvsk.ac.th>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012010907.QAA02573>