Debian :: Computers On Network Cannot Access Internet Via Squid Cache / Reolve This?

Jun 16, 2009

I have installed debian to run Squid cache as a caching proxy.
Ive been bashing away now for 2 days and i have managed to install squid (i first tried manually, but that did not work so i used synaptic software packager to install it (from Administration menu)
That went well, thereafter i installed webamin to work with squid in a GUI

I have managed to start squid and added my range of IP addresses to the ACL list
I have added the proxy restriction too.

Now, i tried to test it.
I opened Iceweasel Web browser (on the same machine) and setit to use the Proxy server: localhost and port:3128
That works fine.

But when i try to change the proxy setting to my machines ip (where squid is installed) :
Proxy server: 10.0.0.35 and port:3128
That does not work.
Am i missing something, please help
I then tried to set another windows PC on the network to:
Proxy server: 10.0.0.35 and port:3128
That also does not work.

I also edited the conf file to http_access allow all, but i do not know if i have doen it correctly, but maybe there is another problem?

View 1 Replies


ADVERTISEMENT

Server :: Squid Cache System - Make It Cache All Files Like .exe .mp3 .avi

Mar 6, 2011

I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid

View 1 Replies View Related

Software :: Squid 3.0 Access List / Remove Redirect Statement From Iptables All Internet Access Is Blocked?

Jun 11, 2010

I have an old FC2 box running Squid version 2.5. It has been running since 2003 so I am in the process of replacing it. I have a new machine with FC11, iptables, and Squid 3.0 installed.

On the old machine I use iptables to intercept Port 80 traffic and send it to Squid. By default I block all internet access and allow only sites that are in an Allowed_Sites.txt file. Within Squid I also have statements to allow certain users to bypass Squid based on their IP address.

I have set up the same thing on the new box. I have iptables intercepting the Port 80 traffic and sending it to Squid. That is working because if I remove the redirect statement from iptables all internet access is blocked.

The problem I am having is that Squid is not blocking any websites. It acts like the ACL is set to http_access allow all. I have worked on this for several hours and am stumped.

These are my Squid rules:
acl allowed_sites url_regex "/etc/squid/Allowed_Sites.txt"
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl SSL_ports port 443
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow Bypass_Users
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl our_networks src 192.168.1.0/24
http_access allow allowed_sites
http_access allow our_networks
http_access deny all
icp_access deny all
htcp_access deny all
http_port 192.168.1.254:3128 transparent
hierarchy_stoplist cgi-bin ?
access_log /var/log/squid/access.log squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|?) 0 0% 0
refresh_pattern . 0 20% 4320
visible_hostname FC11.proxybox
icp_port 3130
coredump_dir /var/spool/squid

View 2 Replies View Related

General :: Internet Access Restrictions With Squid?

Dec 30, 2010

I am using internet web control through squid... All is working fine only some little bit issues.

(1) Sometime when i tried to open google.com or any site I got message (The requested URL could not be retrieved) Screen Shot Attached.) but again after sometimes same websites will open.

url

(2) I would like to block word 'sex'.. So I have edit squid.conf with the following acl

acl Blockword url_regex sex
http_access deny Blockword

but problem occur in some websites where 'sensex' word found in url. Then squid block 'sensex' url content website also..

View 2 Replies View Related

Server :: Internet Access Via Squid Proxy

Apr 28, 2010

Centos 5.4 distro using on remote machine. I have remote site where internet access given via squid proxy. So when we enter in browser it start working internet fine. But on command line (bash shell prompt terminal) like wget, ping, nslookup, traceroute etc., these commands does not work.

View 6 Replies View Related

Server :: Squid Internet Access Getting Slower?

Jul 24, 2010

I've a SQUID proxy server installed in SUSE 9.0 ES server. I've created cache dirs on seperate partitions for better caching. Its working fine. But since last 15-20 days, i've experienced very slow net access to clients. I've gone through the /var/log/messeges file, it generates a two line error messeges

client read request fd602 invalid request
parse http request: unsupported method;HET

This messege increases as the number of clients increates (for internet access). The apperance of error messege lowering down as soon as the number of clients reduces.

As the count of clients increases error messeges increases, internet access getting slower and slower.

View 1 Replies View Related

Ubuntu Servers :: Provide Internet Access To Multiple Computers Using Only A Hub And 1 Ethernet Port

Mar 18, 2010

Ever need to provide access to multiple PC's and did not have a router only a hub. Maybe this isn't original thinking, but then again maybe you didn't think of doing it this way (which i am sure there are many ways to do it) So I have 2 Ubuntu Servers, 1 Windows Box and a Hub - All 3 with internet access off of single ip and single Ethernet port.

While searching for a backup method today I came across Clonezilla. I was wondering if this was the right thing for me and since I needed to backup my roommates PC for a reformat and install of Windows I decided I would give it a try, but only if it would work. I didn't want the hassle of going into the main part of the house and finding out what cord was what as there is a cable modem connected into a switch (4 static IP's with internet) and one port of the switch hooked to a router) Anyways, didn't work he was on the router I was on the switch)

But this got me thinking. When I setup my server to do this, during one of the setup scripts it said it was setting up Internet access for client machines and that it was assigning them IP addresses threw a DHCP server that it had installed.

So, I dug up the hub connected the internet cable to hub up link and Server 1 on port 1 Server 2 on port 2 and Windows on port 3 The main server gets the internet provided IP address and routes it to the hub via a virtual interface. Server 2 is configured for DHCP and the windows box, It was set to get info automatically but it didn't fill the DNS info so I had to manually do that (just a heads up) I decided to use OpenDNS Servers (208.67.222.222 & 208.67.220.220) but im sure putting in the gateway IP address would have worked too.

So, by now if you need this I am sure you are excited and want to get to it. Like i said there are probably other ways of doing it, ways that don't involve you installing clonezilla and DRBL, maybe even just DRBL is needed, maybe one of them installed whats needed as a dependency- all I know is it works, if you know - elaborate so people know, but hey- this way not only do you have internet access on all PC's you can deploy custom images to them as well.

View 1 Replies View Related

Debian :: No Internet Access \ Ping Always Respond With Network Is Unreachable?

Jan 29, 2011

I'm using debian lenny.When I boot with kernel 2.6.36, ping always respond with Network is Unreachable. But when I boot with kernel 2.6.26 it works. I can't even ping the dafault router of 2.6.26 kernel when I am at 2.6.36. Also, system/administration/network does not show any connections while it shows something at the other kernel.

View 1 Replies View Related

Server :: Slow Access To Web Site Using Squid And Internet Explorer.

Apr 4, 2010

Slow access to web site using squid and Internet explorer.I am trying to troubleshoot an issue I am stuck on. We have a website that is loading .htm documents extremely slow when using Internet Explorer 8 behind Squid. When we bypass the proxy and go directly out to the internet all is fast and pages load fine.But when the proxy is on documents will take sometimes up to 6 minutes to load.This issue is only apparent using Internet explorer 8.I do not see the issue when using firefox with Squid.I have tried to use the no_cache directive thinking it may have been the cache but that didn't work either.I am attaching our access.log, store.log and squid.conf.

View 2 Replies View Related

OpenSUSE Network :: DHCP - Internal Computers Connect To The Internet?

Nov 23, 2010

I set up a server that has dhcp going. This works 100% as I get ipaddresses. My question is how do these internal computers connect to the internet? There is a proxy that needs to be passed as well...

Is this just a simple case of portforwarding or is this a completely different thing?

View 4 Replies View Related

Networking :: Building System Router - Can't Access Computers On Other Side Of Network / Fix It?

May 20, 2009

I have built a linux router with a pc having two network cards. I am running ubuntu 8.10.

I have enabled forwarding on the router. One network (192.168.1.0/24)is connected to eth0 and another (192.168.2.0/24) is connected to eth1.

The interfaces have addresses 192.168.1.1 and 192.168.2.1.

On any side side of the network, I can ping both interfaces on the router.

However when I ping a machine on the other side of the network, I get 100% packet loss.

I have not touched iptables on the router or any machines.

What I am doing wrong?

View 2 Replies View Related

General :: Error In Squid Proxy Access - Internet Explorer Cannot Display The Webpage

May 31, 2011

I am using Squid Server from last 5years. There is a site "http://www.firstflight.net", which was accessible before few days but now I am unable to access this site. If I use IE8 then getting below error:

"Internet Explorer cannot display the webpage"

Or using Google chrome getting error:

"This webpage is not available The webpage at http://www.firstflight.net/ might be temporarily down or it may have moved permanently to a new web address. Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error."

But other sites are working fine..

View 3 Replies View Related

General :: Access Network While Connecting Through Squid

Jun 28, 2011

I am facing problem to access my network PC's and even ping. My network scenario is as follows. I am using squid 2.6 stable 21 on RHEL5. all other PC's on network (OS is Windows XP Professional SP2) are connected to internet through squid, authentication is ON on squid. All PC's on network (Win XP Systems)are assigned IP statically and Default Gateway is set which is Squid's IP. I want to access these PC's (Win XP Systems) mean share data between them. The problem is that i am unable to access and even ping these PC's.

View 2 Replies View Related

Debian :: Two Computers Suddenly Cannot Access Depositories

Mar 9, 2010

I have two computers, running Debian Lenny 5.0.3, suddenly they cannot access the Debian depositories and even when typed debian.org, the site does not come up! I used another hard disk with a different distro and one of the computers, and it did access the debian site. Any reason for this?

View 3 Replies View Related

OpenSUSE Network :: Connecting Two Computers On LAN \ Both Computers Are Connected To A Switch With Cables?

Jan 31, 2011

im trying to connect two computers on lan.One computer has: VMWare Workstation and has Opensuse 11.3 mounted in it.The other computer has: VMWare Player and has Opensuse 11.3 mounted in it.Both computers are connected to a switch with cables.I have followed this guide in both computers:Depanati singuri calculatorul!: Opensuse 11.3 - configure local networkin order to setup a network.In one computer, if i go to: Computer---Network---Network folder, i only see one machine. When in fact i could see both of them right

View 9 Replies View Related

OpenSUSE Network :: 11.3 Amd64 - Having Internet Access But Cannot Access Repos - IPV6?

Aug 26, 2010

I installed 11.3amd64 as a VM under Vista/VMWare Player - all worked fine. I have now installed it as a physical system. It nstalled cleanly BUT during first boot it could not access the repos. With each repo it gave the message

- download (curl) error for (repo)
- error code connection failed
- error message could not resolve host (repo)

This was followed by a message box containing

- UI syntax error
- no widget with ID 'contents

Firefox could not access the internet (cannot find server) until I disabled IPV6 (I used about:config), now it works fine. I think the repos problem is because of IPV6 - I usually have trouble with IPV6. I tried disabling IPV6 with the following (How To Disable ipv6 on SuSE Linux | Linux Poison)

[code]......

View 8 Replies View Related

General :: How To Check Squid Cache

Nov 11, 2010

I recently finished installing Squid 3.1.9 and I think I've done installing correctly with its feature of minor configuration changes. It accepted requests on port 3128 and created and the created some numerical or binary (I guess) files in /usr/local/squid/var/logs, My problem is how can I fully verify if the cache is really storing Internet Files? I've read some forums in the Internet replied to me to try the command: cat /usr/local/squid/var/logs/cache.logSo I did tried it and it gives me this output:

2010/11/11 18:04:49| store_swap_size = 0
2010/11/11 18:04:50| storeLateRelease: released 0 objects
2010/11/11 18:05:41| Squid is already running! Process ID 5458

[code]....

View 1 Replies View Related

Server :: How To Create Squid Cache

Aug 6, 2010

first i'm new in this filed of linuxi have Debian 5 serveri need to know how build squid and cache in server

View 1 Replies View Related

General :: How To Automatically Delete Squid Cache

Oct 23, 2010

I'm using squid as a proxy in our organization. My problem is whenever the squid cache folder size exceeds 3 GB our proxy server starts to hang. Is there a way to write a script that it will automatically delete the squid cash when it exceeds the 3GB limit.

View 7 Replies View Related

Server :: Check How Much Squid Cache Has Been Full

Mar 17, 2011

I want to know that is there any way to check that how much size of squid cache directory is full? Normally when squid size will reach upto 2GB then I have to clean it.

Code:
# cache_dir ufs /var/spool/squid 2000 16 256
I assign 2000 MB to the cache size. One month have been pass while squid is running but i am unable to know how to check the current status of my squid cache size

View 3 Replies View Related

Server :: Clean Squid Cache Directory?

Mar 6, 2011

I am using squid on my cent os 5. The cache directory is almost full.

Code:
# cache_dir ufs /var/spool/squid 1000 16 256
kindly guide me how can i flush or clean the data inside the cache directory of squid using terminal

View 4 Replies View Related

General :: Squid Access / Permission Denied Error From Squid Occur?

Dec 29, 2010

I am using squid to controlling access to the internet all is working fine expect one of the user who is using outside organization portal to connect internet. But whenever he tries to enter in the portal by typing (EXAMPLE)url. Permission denied error from squid occur.

How can i allow this portal in squid. So squid will allow this to access.

View 1 Replies View Related

General :: Squid 2.6 Not Running - Cache Terminated Abnormally

Aug 2, 2010

I installed squid 2.6.stable21 on centos 5.3,it starts normally from /usr/local/squid/sbin/squid but when I start form init.d it is running but display message.
/etc/init.d/squid start then displays
Starting JunkBuster & Squid 2010/08/02 19:05:52| ACL name 'all' not defined!
FATAL: Bungled squid.conf line 179: http_reply_access allow all
Squid Cache (Version 2.6.STABLE21): Terminated abnormally. [FAILED]

View 2 Replies View Related

Server :: Squid Automatic/scheduled Cache Clear?

Nov 9, 2009

is there any way to scheduled cache clear auomatically instead of manual in squid.

View 1 Replies View Related

Server :: Squid Cache With 2 Bandwidth (Load Balancing)

Mar 27, 2010

i Have a Squid Server , i'm Using That for Caching ... i Have 3 Ether on My " Squid Server ". Ether1 : Directly Internet From ISP1 , 2Mbps . Ether2 : Directly Internet From ISP2 , 512 KBps . Ether3 : Connected too LAN . i want All The Files Format with " MP3 , RAR , ZIP , AVI , ... (All Downloads File) " Get From Ether1(ISP1) and WebPages Like " HTML , ASP , CGI , & ... " Get from Ether2(ISP2) i Not Know How to Configure That with My 2 ISP internet.

View 1 Replies View Related

CentOS 5 Server :: DNS Cache ONLY + Squid Transparent Caching

Oct 23, 2009

what i need, I got two servers for about 4000 users and 300 servers and well the guy never setup dns caching right, so im redoing it. Now my goals

1) DNS cache
2) Transparent Squid Cache only
3) Load Balance - at switchlevel

Upgraded Hardrives to SSD 2x32gb each server 4gb of ram 2x Dell poweredge 850's - p4 2.8 (single cores) So any advise , pointers , expeirnces and best ways to do this being both server will do both dns caching and squid! Also is bind9 the best for this?? i seen stuff about DNSmasq what performs better( i dont need DHCP)

View 1 Replies View Related

CentOS 5 Server :: Check How Much Squid Cache Has Been Full ?

Mar 17, 2011

I am using Cent Os 5. I want to know that is there any way to check that how much size of squid cache directory is full? Normally when squid size will reach upto 2GB then I have to clean it.

# cache_dir ufs /var/spool/squid 2000 16 256

I assign 2000 MB to the cache size. One month have been pass while squid is running but i am unable to know how to check the current status of my squid cache size.

View 2 Replies View Related

OpenSUSE Network :: Two Network Cards With Different Settings For Internet Access

Feb 9, 2010

I have a desktop computer running OpenSUSE 11.2 with two network cards installed. I would like to use both cards for connecting to the internet using different networks. The setting would be the following: eth0 is the main (default) card, almost all programs should use this NIC for connecting to the internet. eth1 is used only by a few programs, which have setting for selecting which network interface to use. The two NIC's are connected to different networks, so the IP address of the NIC's, the related subnet masks and gateways are also different.

Saying short, I would like to have the two NIC's as they would be in two separate computers. I can set the IP address and subnet mask of the NIC's. The main problem is that I can only declare one gateway. How can i setup this? I do not use network manager, I configure network cards using yast, but if needed I can of course use ifconfig directly.

View 9 Replies View Related

OpenSUSE Network :: Network / DNS - Can't Access Any Internet Resources Or Router

Jul 30, 2010

I'm having a strange problem with my network connection/DNS. I turn computer the on and it recognizes and connects to wireless or wired but I can't access any Internet resources or my router. If I ping the default gateway, I get no response and I get DNS errors from any network services that run at start up. If I stop and start the network daemon then it all works fine until the next time I turn on my laptop. It does this for both wireless and wired connection.

I've tried to edit the network interface information in YaST but it says that configuration is handled by knetworkmanager and I have no idea where that information is accessed. I should point out that it all worked fine until I tried to connect to open WAP at my school and couldn't so I connected to the wired network. Next morning I had this problem when connecting to my home network. My questions are 1. What could be the cause of this error and 2. where does one configure the network interfaces when using knetworkmanager

View 4 Replies View Related

General :: Squid Cache (Version 2.5.STABLE14): Terminated Abnormally

Oct 4, 2010

When i restart the squid service, the following error has occured

Code:

2010/10/04 12:14:14| Squid is already running! Process ID 3941
FATAL: setrlimit: RLIMIT_NOFILE: (13) Permission denied
Squid Cache (Version 2.5.STABLE14): Terminated abnormally.

[code]....

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved