Re: forwarding loop
Daniel Hartmeier <[email protected]> Mon, 14 Jan 2013 10:50:23 +0100
| Newsgroups | gmane.os.openbsd.pf |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jan 12, 2013 at 08:03:41AM +0100, Leslie Jensen wrote: > New suggested rule that gives syntax error > # rdr in on $int_if inet proto tcp from ! $proxy to any port > $proxy_services -> $proxy $proxyport tag rdr_proxy 1) Remove "in" (rdr implies incoming direction) 2) Remove "tag rdr_proxy" (newer OpenBSD syntax, not needed here) 3) Add "port" after the "->" part (not optional) So it reads: rdr on $int_if inet proto tcp from ! $proxy to any port $proxy_services -> $proxy port $proxyport Which loads fine for me on 8.3-RELEASE-p4. HTH, Daniel