diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2008-05-09 02:44:56 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2008-05-09 02:44:56 +0000 |
commit | 6b5278216d3e945e7764e8fb4d6084731d9c1d42 (patch) | |
tree | e16579e8549035c8a3ce6525cf6278091980d103 /regress/sbin/pfctl/pf97.in | |
parent | bf10d8a20a778604168423fc81c27ee72bc63285 (diff) |
divert packets to local socket without modifying the ip header;
makes transparent proxies much easier; ok beck@, feedback claudio@
Diffstat (limited to 'regress/sbin/pfctl/pf97.in')
-rw-r--r-- | regress/sbin/pfctl/pf97.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf97.in b/regress/sbin/pfctl/pf97.in new file mode 100644 index 00000000000..8f3d9415a96 --- /dev/null +++ b/regress/sbin/pfctl/pf97.in @@ -0,0 +1,4 @@ +pass in on em0 inet proto tcp from any to any port 220:230 divert-to 127.0.0.1 22 +pass out on em0 inet proto tcp from any to any port 220:230 divert-reply +pass in on em0 inet proto 103 divert-to 127.0.0.1 103 +pass on em0 inet proto tcp from any to any port 80 divert-to 127.0.0.1 8080 |