View Single Post

  #2 (permalink)  
Old 07-08-2007, 02:31 PM
nixcraft's Avatar
nixcraft nixcraft is offline
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,060
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Add following option to /etc/rc.conf
Code:
firewall_enable="YES"
firewall_script="YES"
firewall_script="/usr/local/etc/ipfw.rules"
Setup firewall rules in /usr/local/etc/ipfw.rules and restart or reboot the server. If you are using old version or if you need NAT compile freebsd kernel. More info in our FAQ section:
FreeBSD Setting up Firewall using IPFW | Frequently Asked Questions
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote