summaryrefslogtreecommitdiff
path: root/share/ipf/example.11
diff options
context:
space:
mode:
Diffstat (limited to 'share/ipf/example.11')
-rw-r--r--share/ipf/example.115
1 files changed, 3 insertions, 2 deletions
diff --git a/share/ipf/example.11 b/share/ipf/example.11
index 7fc26ebdca3..e9045d24f1b 100644
--- a/share/ipf/example.11
+++ b/share/ipf/example.11
@@ -1,13 +1,14 @@
+# 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
# 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
# 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
#