>>
>>
> This is my pf.conf that worked on the 7.2 system.
some PF syntax have been changed since OpenBSD 4.7. one is rdr . pls see this
http://www.openbsd.org/faq/upgrade47.html
So, when it comes to FreeBSD 8.2, I do NOT know, whether these syntax
are present. Pls check.
>
> proxy_services = "{ 21, 80 }"
> internal_net = "172.17.0.0/16"
> proxy = "127.0.0.1"
>
> rdr on $int_if inet proto tcp from $internal_net to any port $proxy_services
> -> $proxy port 8080
since rdr syntax has been changed. this is the new since OpenBSD 4.7
for port 80
pass in log on $int_if proto tcp from $lan_net to any port 80 \
rdr-to 127.0.0.1 port 8080
for port 21, since ftp-proxy is running on openBSD
pass in quick log on $int_if proto tcp from $lan_net to any port 21 \
rdr-to 127.0.0.1 port 8021
> I'm trying to use your example but I get a syntax error when trying to load.
> I'm aware of line feeds and have checked that there's none.
>
> pass in log on $int_if proto tcp from $internal_net to any port
> $proxy_services rdr -> $proxy port 8080
Pls replace like this and see.
pass in log on $int_if proto tcp from $internal_net to any port
80 rdr -> $proxy port 8080
-- Thank you Indunil JayasooriyaReceived on Wed Mar 30 2011 - 05:06:12 MDT
This archive was generated by hypermail 2.2.0 : Thu Mar 31 2011 - 12:00:02 MDT