diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2000-01-17 17:40:28 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2000-01-17 17:40:28 +0000 |
commit | a68bb2f3100afe06e37fdcfe0938115283ac9cb6 (patch) | |
tree | 99f78db56848b22694e7b630707dcd1690f5cab4 /share/ipf/example.11 | |
parent | f87ca1bd56b737cb12ae8c0871d3e804aa3c8ea4 (diff) |
Update the examples to those included with ipf 3.3.6. Add several new ones.
Diffstat (limited to 'share/ipf/example.11')
-rw-r--r-- | share/ipf/example.11 | 5 |
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 # |