# allowed tcp ports
allowed_tcp_ports = "{ 22, 111, 139, 445, 873, 992 2049 30000 }"
# VLANs etc.
VLAN1 = "{192.168.1.0/24 }"
# skip loopback traffic
set skip on lo
# default deny
block all
# allow ping from VLAN1
pass quick inet proto icmp from any to any
# pass out proto inet proto udp from any to port 33433 >< 33626
# pass in quick log inet proto icmp from $VLAN1 to any icmp-type echorep
# pass out quick log inet proto icmp from any to $VLAN1 icmp-type echoreq
# allow SSH only from specific hosts
pass in log proto tcp from $VLAN1 to any port $allowed_tcp_ports keep state
# allow all outgoing traffic
pass out all keep state