diff options
author | 2009-09-23 14:22:22 +0000 | |
---|---|---|
committer | 2009-09-23 14:22:22 +0000 | |
commit | ea51c2ed72e072c4a30b6948de06843b7d131d96 (patch) | |
tree | e4873bf42c05904bc0a3e1c02ad018b568a481a1 | |
parent | More tweaks to try to catchup to recent pf changes. (diff) | |
download | wireguard-openbsd-ea51c2ed72e072c4a30b6948de06843b7d131d96.tar.xz wireguard-openbsd-ea51c2ed72e072c4a30b6948de06843b7d131d96.zip |
sync with pfopt5.in correct comments regarding -N/-R
-rw-r--r-- | regress/sbin/pfctl/pfopt2.in | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfopt3.in | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/regress/sbin/pfctl/pfopt2.in b/regress/sbin/pfctl/pfopt2.in index 1c7a039f6e6..f72b26ad088 100644 --- a/regress/sbin/pfctl/pfopt2.in +++ b/regress/sbin/pfctl/pfopt2.in @@ -15,12 +15,10 @@ queue pri-low priority 0 queue pri-med priority 1 priq(default) queue pri-high priority 2 -# NAT -N +# FILTER, -R match in on $ext_if inet from any to any rdr-to 127.0.0.1 match out on $ext_if inet from any to any nat-to 127.0.0.1 match on $ext_if inet from 192.168.0.0/24 to 192.168.0.1/24 binat-to 192.168.0.3/24 - -# FILTER, -R pass out on $ext_if proto tcp from any to any port 22 keep state \ queue(pri-med, pri-high) pass out on $ext_if proto tcp from any to any port 80 keep state queue pri-med diff --git a/regress/sbin/pfctl/pfopt3.in b/regress/sbin/pfctl/pfopt3.in index 1c7a039f6e6..f72b26ad088 100644 --- a/regress/sbin/pfctl/pfopt3.in +++ b/regress/sbin/pfctl/pfopt3.in @@ -15,12 +15,10 @@ queue pri-low priority 0 queue pri-med priority 1 priq(default) queue pri-high priority 2 -# NAT -N +# FILTER, -R match in on $ext_if inet from any to any rdr-to 127.0.0.1 match out on $ext_if inet from any to any nat-to 127.0.0.1 match on $ext_if inet from 192.168.0.0/24 to 192.168.0.1/24 binat-to 192.168.0.3/24 - -# FILTER, -R pass out on $ext_if proto tcp from any to any port 22 keep state \ queue(pri-med, pri-high) pass out on $ext_if proto tcp from any to any port 80 keep state queue pri-med |