version 1.1, 1996/01/09 09:29:36 |
version 1.2, 2000/01/17 17:40:27 |
|
|
|
# For this example, "foo" has an IP address of 10.2.2.2 |
# |
# |
# allow any TCP packets from the same subnet as foo is on through to host |
# allow any TCP packets from the same subnet as foo is on through to host |
# 10.1.1.2 if they are destined for port 6667. |
# 10.1.1.2 if they are destined for port 6667. |
# |
# |
pass in proto tcp from fubar/24 to 10.1.1.2/32 port = 6667 |
pass in proto tcp from 10.2.2.2/24 to 10.1.1.2/32 port = 6667 |
# |
# |
# allow in UDP packets which are NOT from port 53 and are destined for |
# allow in UDP packets which are NOT from port 53 and are destined for |
# localhost |
# localhost |
# |
# |
pass in proto udp from fubar port != 53 to localhost |
pass in proto udp from 10.2.2.2 port != 53 to localhost |
# |
# |
# block anything trying to get to X terminal ports, X:0 to X:9 |
# block anything trying to get to X terminal ports, X:0 to X:9 |
# |
# |