[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rdr rule for proxy
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: rdr rule for proxy
- From: Chad Whitten <cwhitten_(_at_)_nexband_(_dot_)_com>
- Date: Sun, 02 Feb 2003 11:20:01 -0600
running openbsd 3.2 - just upgraded this morning
and i have one pf rule i cant get to work
# Redirect HTTP requests to Proxy Server except DOMAIN Web Sites
rdr on $Int inet proto tcp from $Lan to ! $DOMAIN port 80 ->
xxx.xxx.xxx.8 port 80
here is all i get when i try to load pf.conf with the rule applied
firewall:~ # pfctl -f /etc/pf.conf
/etc/pf.conf:62: syntax error
pfctl: Syntax error in file: pf rules not loaded
im assuming it has to do with the ! $DOMAIN
if i take that part out and just go with
rdr on $Int inet proto tcp from $Lan to any port 80 -> xxx.xxx.xxx.8
port 80
it will work but i dont want to proxy for my local webservers.
Visit your host, monkey.org