LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-22-2005, 03:24 AM   #1
prabhatsoni
Member
 
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Rep: Reputation: 30
Windows cannot connect to my squid server


Hi everybody,
I have a Fedora core 3, on which I have configured squid server. I have made this squid listen on port 3128. I am able to connect from my own PC on either 127.0.0.1 or 10.72.168.111 (my static ip address). But wondow machines on my LAN are not able to connec to my server.
Imcidently, I have also configured a caching only namer server.

Can anyone help me out.



Thanks in advance

Prabhat Soni
 
Old 01-22-2005, 04:45 AM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
have u entered the proxy settings in ur browser and are u sure u do not have any firewall running on ur linux machine

try portscannig it

regards
 
Old 01-22-2005, 06:26 AM   #3
prabhatsoni
Member
 
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Original Poster
Rep: Reputation: 30
Hello Mr. Masand,
Thanks for your response.
I have correctly configured the window machines' IE for proxy. But when I go through my logs (cache.log and access.log), I don't find any request from any other host. This is proved from the IE's window also whcih does not say anything from my server (like "Access Denied ...... Squid Server ..." etc). I feel that the request from foriegn host is not even reaching my squid server). I have rechecked the port number etc, and they are okay.

Yeah, I am 200% sure there is no firewall.

I have a nagging uncomfortable observation:
I configure my mozilla to access internet through proxy at 127.0.0.1. And I find that I can surt, and their are appropriate entries about requests from 127.0.0.1 in the log files.
Next I configure mozilla to access internet through proxy at 10.72.168.111 (my eth1). I find that I can surf only if eth1 is brought up. So far, okay. But when I go through log I find that surprisingly entries are about requests from 127.0.0.1. Then when I bring down lo, I find I cannot surf.

One more thing - do you thing for allowing my window machines I would need some sort of NTA in place ?

Finally, how do I go about wirh port scanning. I need a little guidance here, please.

Thanks a lot for everything.

Prabhat Soni

Last edited by prabhatsoni; 01-22-2005 at 06:28 AM.
 
Old 01-22-2005, 07:03 AM   #4
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hello prabhat

i have dome this many times so i cannot understand why is this is problem

if u say that u are not able to browse if eth1 goes down
thathappens if u have some type of service going on whcih monitors ur eth1 connection
this service is there in mandrake , but i haven't seen this in RH9.0

portdscan ur IP after it is up and down

for that there is this portscanner called nmap and the GUI on eis nmapfe

nmap <ipadress>

will do a simple port scanning

also try this proxy configration with some diferent browser in windows say dfirefox, maybe u have left something

also can u ping ur proxy m,achine from ur windows machine

as far as NAT is concerned that is an alternate solution
if u have proxy working then u do not need NAT for that

regards
 
Old 01-23-2005, 11:21 PM   #5
prabhatsoni
Member
 
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Original Poster
Rep: Reputation: 30
Hello Mr. Masand,
Thanks.

1). nmap 10.72.168.11 - > service squid-http on port 3128
2). I bring eth1 (10.72.168.111) down, and again give nmap 10.72.168.111 - > Surprisingly it still says "3128/tcp open squid-http". It should not listed in my opinion since eth1 is down !
3). nmap 127.0.0.1 -> Indicate the service squid-http is running on 3128.
4). I bring lo down, and give namp 10.72.168.111 - > Now it says network down and does not list any service. same is the case if I give nmap 127.0.0.1.

It gives an impression that lo and eth1 are same interfaces ! Is it true. ?

I can ping the server from window machines.

Since everything seems to be in order I will try to catch hold of some linux desktop in my network and ask him to access my proxy through mozilla - may be I am missing out something in windows' IE. Will keep you posted.

Thanks for everything.

Prabhat Soni
 
Old 01-24-2005, 02:51 AM   #6
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hello prabhat

eth1 and lo are totally different things

eth1 is ur 2nd ethernet device
eth0 is the first one

lo is loopback

u will have that in every machine no matter u have the ethernet card or not

post the O/P of

ifconfig

also u do not need any linux machine for that
get any other browser like firefox for windows itself

regards
 
Old 01-24-2005, 03:51 AM   #7
cidrolin
Member
 
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
why don't you try telnetting on port 3128 from your Win box ?
 
Old 01-24-2005, 03:59 AM   #8
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 511

Rep: Reputation: 30
have you configured an ACL for http_access?
 
Old 02-07-2005, 03:44 AM   #9
prabhatsoni
Member
 
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Original Poster
Rep: Reputation: 30
Hello everybody,

Thanks to all for offering help.

The problem was not in my squid.

IT was some problem in the window machine from which I was trying to access the squid.


Thanks a lot.



Prabhat Soni
 
Old 02-07-2005, 10:28 AM   #10
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
did u try out any other browser as i had asked u ??

regards
 
  


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
Need help to connect a squid proxy to connect to another squid proxy server bellerophon Linux - Newbie 1 02-07-2006 06:52 AM
Connect to Windows VPN server imsambo2 Linux - Networking 3 07-19-2004 10:56 PM
how can i connect to windows server thiyagu4u Linux - Networking 4 06-17-2004 07:09 AM
Can't connect to Samba server from MS Windows kychan Linux - Networking 2 11-30-2003 04:50 AM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 12:32 AM


All times are GMT -5. The time now is 06:48 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