LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-10-2014, 08:19 AM   #1
husain.shujat
LQ Newbie
 
Registered: Aug 2014
Posts: 4

Rep: Reputation: Disabled
Squid Server not allowing to connect to applications


Hi All,

I am pretty new to Linux but i can work my way around it.
So, i have made a Squid Server & internet is working properly & ACLs are good as well. The Problem is that with my proxy settings enabled on Client machine (Windows machine) i cant connect to application that connects to other servers whether local or Public server. For ex: people using SQL server cant even connect to local or remote servers through SQl & other applications that use public server are not working as well. I am able to get PING replies from them & they are accessible even through browsers, its just problem is with applications.
& as soon as i disable proxy applications works
like a charm
I have trying to find a solutions for it for weeks but cant find any. My Iptables is OFF on Squid server.

please advise.
 
Old 08-10-2014, 10:29 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,260

Rep: Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437
Quote:
Originally Posted by husain.shujat View Post
Hi All,
I am pretty new to Linux but i can work my way around it.
So, i have made a Squid Server & internet is working properly & ACLs are good as well. The Problem is that with my proxy settings enabled on Client machine (Windows machine) i cant connect to application that connects to other servers whether local or Public server. For ex: people using SQL server cant even connect to local or remote servers through SQl & other applications that use public server are not working as well. I am able to get PING replies from them & they are accessible even through browsers, its just problem is with applications. & as soon as i disable proxy applications works like a charm
I have trying to find a solutions for it for weeks but cant find any. My Iptables is OFF on Squid server.
First, think about what Squid is and what it does...it's an HTTP proxy. That's it. It DOES NOT handle ANY OTHER PROTOCOLS, period. So, if you have applications that are accessing other ports/protocols, they obviously won't work...because Squid is only allowing ONE PORT, which is http.

You need to identify what other ports are being used, then use iptables to redirect that traffic through your firewall/proxy-server accordingly.
 
Old 08-10-2014, 11:04 AM   #3
husain.shujat
LQ Newbie
 
Registered: Aug 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
First of all thank you very very much for reply.
And as do your answer, do I need to open ports on squid server iptables or on Cisco firewall?
Iptables on squid is off and applications are working fine without proxy.

So please tell me in little bit detail as I am still new to this.
Thank you in advance and also if can i contact you personally?
 
Old 08-10-2014, 11:25 AM   #4
husain.shujat
LQ Newbie
 
Registered: Aug 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Smile thanks for help

also if you could provide an example, that will be extremely helpful!!!!!!!!
 
Old 08-10-2014, 11:39 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,260

Rep: Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437
Quote:
Originally Posted by husain.shujat View Post
First of all thank you very very much for reply.
And as do your answer, do I need to open ports on squid server iptables or on Cisco firewall? Iptables on squid is off and applications are working fine without proxy. So please tell me in little bit detail as I am still new to this.
As said previously, you have to use iptables to redirect traffic through your proxy server. You can also open the ports directly on your firewall, but that's your choice. You say nothing about your environment, how things are connected, your DMZ, applications, ports, etc., so you will have to come up with the solution that best fits your environment and security needs. I recommend talking/working with your co-workers to figure out what's best for all concerned.
Quote:
Thank you in advance and also if can i contact you personally?
No, you cannot.
Quote:
also if you could provide an example, that will be extremely helpful!!!!!!!!
Since you probably found this site via a Google search, you should start there if you need examples/how-to guides. Putting "how to redirect port through squid proxy server using iptables" pulls up LOTS of examples.
http://www.tldp.org/HOWTO/TransparentProxy-6.html
http://wiki.squid-cache.org/ConfigEx.../LinuxRedirect
http://serverfault.com/questions/313...using-iptables
 
Old 08-10-2014, 12:12 PM   #6
husain.shujat
LQ Newbie
 
Registered: Aug 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks will try .
 
  


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
SQUID Proxy Server Does not allowing me to view YAHOO mails s4starb4boy Linux - Newbie 15 07-27-2013 06:17 AM
Squid Proxy Server not allowing connections Mastermind- Linux - Networking 2 04-11-2012 09:28 AM
Unable to connect MS SQL server 2008 Remote Server through SQUID proxy server samank75 Linux - Server 5 01-19-2012 10:19 PM
Allowing VPN traffic via squid proxy server raktri4u Linux - Newbie 4 01-08-2010 06:31 AM
Allowing FTP on Squid Proxy Server A Simple Noob Linux - Server 3 11-16-2007 09:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration