error squid when using pf

2006-04-26 Thread sonjaya
hi all 

i try use pf for transparant proxy ( i get from here
http://www.benzedrine.cx/transquid.html )
when i configure manual to use proxy is working fine .
then i try to use pf for redirection connection to
proxy :
int_if=vr0
ext_if=xl0

rdr on $int_if inet proto tcp from any to any port www
- 127.0.0.1 port 3128

pass in on $int_if inet proto tcp from any to
127.0.0.1 port 3128 keep state
pass out on $ext_if inet proto tcp from any to any
port www keep stat

i always get error = Unable to determine IP address
from host name for www.domain.com such like error dns
but my dns resolver working fine .
what should i chek squid or my pf script 

thx 



My Regard's

SONJAYA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: error squid when using pf

2006-04-26 Thread applecom

i try use pf for transparant proxy ( i get from here
http://www.benzedrine.cx/transquid.html )
when i configure manual to use proxy is working fine .
then i try to use pf for redirection connection to
proxy :
int_if=vr0
ext_if=xl0

rdr on $int_if inet proto tcp from any to any port www
- 127.0.0.1 port 3128

pass in on $int_if inet proto tcp from any to
127.0.0.1 port 3128 keep state
pass out on $ext_if inet proto tcp from any to any
port www keep stat

i always get error = Unable to determine IP address
from host name for www.domain.com such like error dns
but my dns resolver working fine .
what should i chek squid or my pf script 


Maybe -D flag for squid will help (Disable initial DNS tests) ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]