Basic IPF Config Example Cont. Kyle Amon, Page 7 /etc/ipf.rules continued #================================================================. # External Interface [rl0] | #================================================================+ pass out quick on rl0 proto tcp from any to any keep state pass out quick on rl0 proto udp from any to any keep state pass out quick on rl0 proto icmp from any to any keep state pass in quick on rl0 proto tcp from any to ifopen port = 22 keep state #----------------------------------------------------------------. # Block and log everything else | #----------------------------------------------------------------+ block in log on rl0 block out log on rl0 #-----------------------------------------------------------------------------. # Logging override for things not to log | #-----------------------------------------------------------------------------+ block in quick on rl0 from any to any port = netbios-ns block in quick on rl0 from any to any port = netbios-dgm block in quick on rl0 from any to any port = netbios-ssn