Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2002 12:09:49 -0300
From:      "Joao Carlos" <jcrr@ieee.org>
To:        <questions@freebsd.org>
Cc:        <net@freebsd.org>
Subject:   Squid and NATD with Redirect of ports
Message-ID:  <037701c29d39$85fecc00$1e01a8c0@mobile>

next in thread | raw e-mail | index | archive | help
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
jcrr@ieee.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?037701c29d39$85fecc00$1e01a8c0>