summaryrefslogtreecommitdiff
path: root/static/netbsd/man7/example.7
diff options
context:
space:
mode:
Diffstat (limited to 'static/netbsd/man7/example.7')
-rw-r--r--static/netbsd/man7/example.713
1 files changed, 13 insertions, 0 deletions
diff --git a/static/netbsd/man7/example.7 b/static/netbsd/man7/example.7
new file mode 100644
index 00000000..7e871bae
--- /dev/null
+++ b/static/netbsd/man7/example.7
@@ -0,0 +1,13 @@
+# $NetBSD: example.7,v 1.1.1.1 2012/03/23 21:20:15 christos Exp $
+# block all ICMP packets.
+#
+block in proto icmp all
+#
+# allow in ICMP echos and echo-replies.
+#
+pass in on le1 proto icmp from any to any icmp-type echo
+pass in on le1 proto icmp from any to any icmp-type echorep
+#
+# block all ICMP destination unreachable packets which are port-unreachables
+#
+block in on le1 proto icmp from any to any icmp-type unreach code 3