Date: Fri, 1 Dec 2000 06:47:16 -0500 From: "Otter" <otterr@telocity.com> To: "bpirorm" <bpirom@mvsk.ac.th>, <freebsd-questions@FreeBSD.ORG> Subject: RE: How to set this on FreeBSD box ? Message-ID: <HLEDJBJKDDPDJBMGCLPPMEBECLAA.otterr@telocity.com> In-Reply-To: <200012010907.QAA02573@www.mvsk.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
man ipf and ipfw. choose the one that suits your needs and go from there. -Otter }-----Original Message----- }From: owner-freebsd-questions@FreeBSD.ORG }[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of bpirorm }Sent: Friday, December 01, 2000 4:07 AM }To: freebsd-questions@FreeBSD.ORG }Subject: How to set this on FreeBSD box ? } } }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 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?HLEDJBJKDDPDJBMGCLPPMEBECLAA.otterr>