LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 12-21-2012, 01:13 AM   #1
primex
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
http_port 192.168.2.2:3128
[Where 192.168.2.2 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, 03:18 AM   #2
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,347

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

Add this line to /etc/sysctl.conf

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

Original Poster
Rep: Reputation: Disabled
Its resolved.
 
Old 02-02-2013, 01:41 AM   #4
primex
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....
 
  


Reply


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 02:02 PM
No client access through squid running on machine with 2 NICs linaru Linux - Networking 2 08-08-2008 03:23 AM
Client ip in squid access log pavangogineni Linux - Networking 4 10-24-2006 04:52 AM
client ip in squid access.log pavangogineni Linux - Security 1 10-23-2006 06:01 PM
how to use squid for internet security on client terminals kunalcool1 Linux - Newbie 1 08-08-2005 01:43 PM


All times are GMT -5. The time now is 04:01 AM.

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