I'm having the following problem.

FreeBSD 4.7-STABLE (but with any version it does not work either)

I've a FreeBSD connected to a cable network, with only one IP Address.
My FreeBSD has three network cards. One is connected to my internal network,
other is connected to the cable, and the other is connected to a server that
has some serves something to the Internet.

I'm using IPFIREWALL and NATD, and without squid everything works fine. But
I have to use SQUID + SQUIDGUARD to block some content and urls.
The problem is:
When the client is using squid, it requests www.somesite.com that is hosted
at the server conected to this FreeBSD and has a non valid IP address.
External access works because NATD redirects the port 80 to the internal
address, but SQUID, that is located at the firewall, resolves the
www.somesite.com to the local ip address and tries to connect to the
localhost port 80. It does not pass the packets to the natd to redirect
because it is a local ip address. Then i get Connection Refused because
there is no web server at the firewall.

Any ideas how i can solve this problem? I really need the clients using the
squid at the IE configuration.


Thanks.
---
Joao Carlos
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to