#!/bin/sh # # firewall for natd + bridged # # SUNY Potsdam CIS dept. # Eric Thern eric@thern.org # April 2002 # ipfw="/sbin/ipfw -q add" ${ipfw} 00005 count ip from any to any bridged ${ipfw} 00005 count ip from any to any ${ipfw} 02200 allow ip from any to any bridged ${ipfw} 03300 divert 8668 ip from any to any via xl0 ${ipfw} 65535 allow ip from any to any