LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-11-2005, 10:34 AM   #1
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Rep: Reputation: 30
squid proxy connections not going through


I set up a squid proxy server to use with an SSH tunnel and I sort of got it to work for http connections, but it seems so off and on. Sometimes it works and sometimes it doesn't. I set the proxy on my browser to localhost:3128 and make the ssh tunnel with the windows SSH client.

I want to use it to secure my IM conversations, IRC, etc. so I don't need any of the caching features. But when I try to connect to the proxy using these services it just says it can't connect to the proxy. There's nothing at all about it in the logs of squid or of daemon.log so I can't tell whats going wrong. I know my ssh tunnels are working because I have them set up for other services on the same server and they work fine, but nothing is getting logged for squid. The server is running:

Code:
natezacserver:~# ps -ef|grep squid
root      2332     1  0 Oct23 ?        00:00:00 /usr/sbin/squid -D -sYC
proxy     2335  2332  0 Oct23 ?        00:00:02 (squid) -D -sYC
root     19820 18509  0 08:30 pts/1    00:00:00 grep squid
natezacserver:~# nmap localhost -p 3128

Starting nmap 3.93 ( http://www.insecure.org/nmap/ ) at 2005-11-11 08:31 PST
Interesting ports on natezacserver.local (127.0.0.1):
PORT     STATE SERVICE
3128/tcp open  squid-http
The only thing I can see in daemon.log regarding squid is the rotation of the log files. /var/log/squid/access.log and

My squid.conf can be found here: http://zwd.ath.cx/squid.conf

Thanks for any help!

Last edited by Moebius; 11-11-2005 at 10:51 AM.
 
Old 11-13-2005, 09:42 AM   #2
zamri
Member
 
Registered: May 2004
Location: Malaysia
Distribution: Mandrake,Slackware,RedHat
Posts: 157

Rep: Reputation: 30
1. check whether ip forwarding is enabled.
2. check whether ur squid is *really* running.
3. check whether ur iptables rules are correct.
 
  


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
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
Need help to connect a squid proxy to connect to another squid proxy server bellerophon Linux - Newbie 1 02-07-2006 06:52 AM
Squid problem with https connections thermoponch Linux - Networking 0 11-03-2004 04:41 AM
shorewall dropping/rejecting wanted connections (squid/webmin) win32sux Linux - Networking 2 08-01-2003 02:57 PM

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

All times are GMT -5. The time now is 06:46 AM.

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