#!/bin/sh # Clear down existing ruleset (including special set in ipfw2 on Tiger) # MUST use -q, else command output will cause termination of script processing /sbin/ipfw -q flush /sbin/ipfw -q delete set 31 # Activate controlled ruleset /sbin/ipfw -q /etc/firewall.conf # Enable logging /usr/sbin/sysctl -w net.inet.ip.fw.verbose=1 /usr/sbin/sysctl -w net.inet.ip.fw.verbose_limit=65535