[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rdr rule for proxy
- To: misc@openbsd.org
- Subject: rdr rule for proxy
- From: Chad Whitten <cwhitten@nexband.com>
- Date: Sun, 02 Feb 2003 11:20:01 -0600
- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
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.