summaryrefslogtreecommitdiff
path: root/share/ipf/example.13
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2000-01-17 17:40:28 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2000-01-17 17:40:28 +0000
commita68bb2f3100afe06e37fdcfe0938115283ac9cb6 (patch)
tree99f78db56848b22694e7b630707dcd1690f5cab4 /share/ipf/example.13
parentf87ca1bd56b737cb12ae8c0871d3e804aa3c8ea4 (diff)
Update the examples to those included with ipf 3.3.6. Add several new ones.
Diffstat (limited to 'share/ipf/example.13')
-rw-r--r--share/ipf/example.1312
1 files changed, 6 insertions, 6 deletions
diff --git a/share/ipf/example.13 b/share/ipf/example.13
index df13d0af471..854f07f1694 100644
--- a/share/ipf/example.13
+++ b/share/ipf/example.13
@@ -1,17 +1,17 @@
#
-# Log all short TCP packets to qe3, with "packetlog" as the intended
+# Log all short TCP packets to qe3, with 10.3.3.3 as the intended
# destination for the packet.
#
-block in to qe3:packetlog proto tcp all with short
+block in on qe0 to qe3:10.3.3.3 proto tcp all with short
#
# Log all connection attempts for TCP
#
-pass in dup-to le0:packetlog proto tcp all flags S/SA
+pass in on le0 dup-to le1:10.3.3.3 proto tcp all flags S/SA
#
# Route all UDP packets through transparently.
#
-pass in fastroute proto udp all
+pass in on ppp0 fastroute proto udp all
#
-# Route all ICMP packets to network 10 out through le1, to "router"
+# Route all ICMP packets to network 10 out through le1, to 10.3.3.1
#
-pass in to le1:router proto icmp all
+pass in on le0 to le1:10.3.3.1 proto icmp all