Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-21-2012, 02:13 AM   #1
LQ Newbie
Registered: Dec 2012
Posts: 3

Rep: Reputation: Disabled
Client cannot access internet via Squid

I using RHEL5.3 and I have SQUID 2.6.STABLE21.

I configured the squid to make a proxy connection to all of my office fellows. Theyŕe having Internet connection for a month of period. But now client machines cannot access internet for last 2 days. Everything is working... incl Squid. I tried pinging server from client machine and client from server, and I got reply. But internet could not be accessed by client machine.

Iīve tried reconfiguring squid and also rhel. At the end everything is working properly except internet.

My squid configuration details:

http_access allow all
[Where is the local ip given in the serverīs eth1.]

nothing else changed.

I got reply for both public and local IP while pinging from client and also reply from client.

sorry for my bad english.
Thanks in advance.
Old 12-21-2012, 04:18 AM   #2
Senior Member
Registered: Apr 2007
Location: bbsr,orissa,India
Posts: 1,373

Rep: Reputation: 135Reputation: 135
Have you enabled packet forwarding in squid server ??

Add this line to /etc/sysctl.conf

net.ipv4.ip_forward = 1
Now run
sysctl -p
1 members found this post helpful.
Old 12-28-2012, 06:20 AM   #3
LQ Newbie
Registered: Dec 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Its resolved.
Old 02-02-2013, 02:41 AM   #4
LQ Newbie
Registered: Dec 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Question How to Start Squid Automatically?

Hi There,

I'm in need to make another server with Ubuntu. I've installed it and everything works fine. I want to know to make squid run automatically when system starts. In RedHat it is easy but dont know in Ubuntu. What to do?

Thanks in Advance....


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
client ----> squid -----> another proxy -----> internet alvi2 Linux - Server 3 10-25-2010 03:02 PM
No client access through squid running on machine with 2 NICs linaru Linux - Networking 2 08-08-2008 04:23 AM
Client ip in squid access log pavangogineni Linux - Networking 4 10-24-2006 05:52 AM
client ip in squid access.log pavangogineni Linux - Security 1 10-23-2006 07:01 PM
how to use squid for internet security on client terminals kunalcool1 Linux - Newbie 1 08-08-2005 02:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration