1*0Sstevel@tonic-gate# 2*0Sstevel@tonic-gate# test ruleset 3*0Sstevel@tonic-gate# 4*0Sstevel@tonic-gate# allow packets coming from foo to bar through. 5*0Sstevel@tonic-gate# 6*0Sstevel@tonic-gatepass in from 10.1.1.2 to 10.2.1.1 7*0Sstevel@tonic-gate# 8*0Sstevel@tonic-gate# allow any TCP packets from the same subnet as foo is on through to host 9*0Sstevel@tonic-gate# 10.1.1.2 if they are destined for port 6667. 10*0Sstevel@tonic-gate# 11*0Sstevel@tonic-gatepass in proto tcp from 10.2.2.2/24 to 10.1.1.2/32 port = 6667 12*0Sstevel@tonic-gate# 13*0Sstevel@tonic-gate# allow in UDP packets which are NOT from port 53 and are destined for 14*0Sstevel@tonic-gate# localhost 15*0Sstevel@tonic-gate# 16*0Sstevel@tonic-gatepass in proto udp from 10.2.2.2 port != 53 to localhost 17*0Sstevel@tonic-gate# 18*0Sstevel@tonic-gate# block all ICMP unreachables. 19*0Sstevel@tonic-gate# 20*0Sstevel@tonic-gateblock in proto icmp from any to any icmp-type unreach 21*0Sstevel@tonic-gate# 22*0Sstevel@tonic-gate# allow packets through which have a non-standard IP header length (ie there 23*0Sstevel@tonic-gate# are IP options such as source-routing present). 24*0Sstevel@tonic-gate# 25*0Sstevel@tonic-gatepass in from any to any with ipopts 26