nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

squid problem cannot connect or browse internet

This is a discussion on squid problem cannot connect or browse internet within the Linux software forums, part of the Linux Getting Started category; Hi there, Followed the squid tutorial available on this site and activated squid on my CentOS machine. Cannot connect to ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-19-2007, 08:02 PM
Junior Member
User
 
Join Date: Feb 2007
Posts: 10
Rep Power: 0
raghuram
Default squid problem cannot connect or browse internet

Hi there,

Followed the squid tutorial available on this site and activated squid on my CentOS machine. Cannot connect to net from client machines. Worse, cannot browse net from squid machine itself, although I can dial the ADSL modem and connect. These are my settings:

1. SQUID_SERVER=192.168.1.4
2. eth0=192.168.1.4 (Internet facing - static IP assigned by me)
3. eth1=192.168.0.3/24 (static LAN IP assigned by me)
4. all directives as specified in squid.conf except "visible_hostname" . Not sure how to set hostname as I have none other than localhost.localdomain
5. Using DHCP server to spread 192.168.0.3 as default gateway on client machines.
6. Firewall and SeLinux disabled.

Any pointers?

Raghuram
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-21-2007, 08:07 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 917
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Can you ping to your router?
Code:
ping router-ip
Can you ping to public IP address such as 208.67.222.222
Code:
ping 208.67.222.222
Is squid running?
Code:
netstat -tulpn | grep 3128
Let me know this
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 03-27-2007, 09:31 PM
Junior Member
User
 
Join Date: Feb 2007
Posts: 10
Rep Power: 0
raghuram
Default

Quote:
Originally Posted by nixcraft
Can you ping to your router?
Code:
ping router-ip
Can you ping to public IP address such as 208.67.222.222
Code:
ping 208.67.222.222
Is squid running?
Code:
netstat -tulpn | grep 3128
Let me know this
Hi vivek,

Was away for sometime, hence the delayed response. I am able to browse net from squid host now. Earlier, firewall and SELinux were blocking 'sit0'. Unblocked 'sit0' and able to browse net .Client machines still cannot connect. Am working on it. Will get back soon if things don't roll!

Raghuram
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Internet Speed of Squid Users zakaferoz Mail Servers 1 02-12-2008 04:08 AM
Problem on making Guest OS to allow Internet get in satimis Computer Networking and Internet/broadband 0 01-31-2008 09:51 AM
Squid Problem B!n@ry Linux software 3 04-15-2007 03:36 PM
Not able to browse one particular URL through squid bubloob_13 Linux software 0 04-05-2007 07:47 PM
squid problem dev_dks Linux software 1 08-01-2006 01:42 PM


All times are GMT +5.5. The time now is 08:46 AM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36