Can't run squid with leased line.

From: Ertan Kucukoglu <ertank@dont-contact.us>
Date: Tue, 11 Apr 2000 17:46:49 +0300

Hello,

I want to use squid over a 128k leased-line connection. My OS is a FreeBSD
4.0 and using squid2.3STABLE2. There is two NICs on server. Both are
configured and running.

My real ip address is 195.33.200.146, my router is setup for that ip. I can
surf the net with FreeBSD box. (My default gateway and resolv.conf files are
setup) Other NIC is setup with the IP of 192.168.1.128.

Squid is up and running. acls are setup so that every one in 192.168.1 block
can use squid. But, when I try to use my Netscape 4.7 with proxy setup I get
an error that says "Document contained no data."

I looked at the logs and there is no line about my connection. If I try to
get pages by IP number there is no problem. Everything works.

My squid.conf is as follows:
bash-2.03$ cat /squid/etc/squid.conf
cache_dir ufs /usr/squid/cache 200 16 256
cache_access_log /usr/squid/logs/access.log
cache_log /usr/squid/logs/cache.log
#cache_store_log /usr/squid/logs/store.log
cache_effective_user squid
cache_effective_group squid_group

acl allowed1 src 192.168.1.1-192.168.1.254
acl allowed2 src 212.252.49.127
acl all src 0.0.0.0/0.0.0.0

http_access allow allowed1
http_access allow allowed2
http_access deny all
bash-2.03$
-----

Also my firewall settings is OPEN mode so that there is no restrictions. It
seemed to me that squid can not resolve the names. My server runs named and
my only line in /etc/resolv.conf is 127.0.0.1 (I want to recall that I can
surf the internet with FreeBSD.)

What might be the problem? Any ideas?

Regards,

--
Ertan Kucukoglu
ertank@ozlerplastik.com
Received on Tue Apr 11 2000 - 08:53:08 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:54 MST