LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-24-2009, 05:12 AM   #1
H@$H
LQ Newbie
 
Registered: May 2009
Location: South-Africa Somerset West
Distribution: fedora 11 & Centos 5
Posts: 10

Rep: Reputation: 0
Question trouble connecting to internet through Squid proxy server (Fedora 4)


The server on witch i setup Squid is connected to the internet(Router) via eth1 (I used DHCP to configure this. Since i dont know how to set Static IP and still browse the net).
Then the server(192.168.1.20/255.255.255.0) is connected to the client(192.168.1.48/255.255.255.0) via eth0 directly.
The client and Server has a good working connection.
i`ve configured the clients proxy settings on firefox to use the server's IP (192.168.1.20 on port 3128) and im using the same proxy settings on all protocalls. When i try to connect to the internet on client it says connection was refused and i must check my proxy settings.
Can anyone plz help me this is urgent!!
 
Old 06-24-2009, 05:45 AM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Check squid.conf's ACL's and verify squid is running on port 3128 (netstat -natp on the squid box).
 
Old 06-24-2009, 07:07 AM   #3
H@$H
LQ Newbie
 
Registered: May 2009
Location: South-Africa Somerset West
Distribution: fedora 11 & Centos 5
Posts: 10

Original Poster
Rep: Reputation: 0
Question

ACL's is configured.
(netstat -natp) reply's EN 7921/(squid),
is 7921 the port number?
 
Old 06-24-2009, 05:03 PM   #4
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
No, that'll be squid's pid, check the local address column to know which port it's running on and while you're at it, check squid's log files.
Probably somewhere in /var/log, it'll most probably give you a clue on what's going on
 
Old 06-26-2009, 12:45 PM   #5
H@$H
LQ Newbie
 
Registered: May 2009
Location: South-Africa Somerset West
Distribution: fedora 11 & Centos 5
Posts: 10

Original Poster
Rep: Reputation: 0
Ok that was helpful squid is using port 25 to witch i changed the client proxy settings on fire fox, but its still not working. why is squid using port 25 i thought the default port for squid is 3128 I did not change this yet.
How do i change it? (do i edit the /etc/squid/squid.conf file for new port settings?) and another thing those squid log files gave a warnings about no name resolution sever detected but nothing else that helped. i did not set up any name resolution servers or anything like that is it needed?
Thanks in advanced for your support!!

Last edited by H@$H; 06-26-2009 at 12:48 PM.
 
Old 06-30-2009, 04:54 AM   #6
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
I very much doubt squid is running on 25. The output of netstat -natp should be like this:
Code:
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[...]
tcp        0      0 :::22                   :::*                    LISTEN      3895/sshd
[...]
the 22 tells you sshd is running on port 22.
Squid's port is set in the configfiles, yes.
 
  


Reply



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
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
Unable to connect to internet through a squid proxy client on Fedora 10 vikram_cvk Linux - Networking 1 03-26-2009 09:29 PM
how to access internet on linux clients By our Squid Proxy server farrukhndm Linux - Server 2 03-07-2009 06:22 AM
Internet connection alert through squid proxy server tsaravan Linux - Networking 1 09-20-2008 05:44 AM
Problems connecting mandrake 7.1 to the Internet through a Windows 2k proxy server richiebartsmith Linux - Networking 1 07-03-2004 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration