LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-05-2013, 07:18 AM   #1
hiten801@gmail.com
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
Suid proxy server configuration issues in RHEL5


Hi All,

I am trying to configure Squid proxy server(squid2.6 stable21) on my RHEL 5.4 but i facing some issues as my client machine on local LAN is unable to access internet through the proxy server.Details of scenario and configuration is as below:

Proxy server IP =192.168.1.1 (Eth0)
LAN IPs= 192.168.1.X
Internet in poxy server is via ppp0 which is dynamic.

Configuration os squid is as below:

http_port 8080
visible_hostname sona
http_access allow localhost
acl our_lan src 192.168.1.0/255.255.255.0
http_access allow our_lan
http_access deny all

Firewall on port 8080 is open. Still the LAN machine are unable to access internet through the proxy server.

Please help me resolve the issue.

Thanks in advance!
Hitenz
 
Old 01-06-2013, 05:50 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
why is 8080 open on your firewall?? what's the port from the client to the proxy, which I presume does not involve the firewall.

what actually DOES happen? What do your squid logs say? Is squid even running? can you prove that with a "netstat -pant" output?
 
Old 01-07-2013, 06:55 AM   #3
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 866
Blog Entries: 2

Rep: Reputation: 215Reputation: 215Reputation: 215
Have you thought of deleting the post and reposting with the correct title - more likely to get appropriate attention?
 
Old 01-07-2013, 07:35 AM   #4
hiten801@gmail.com
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
why is 8080 open on your firewall?? what's the port from the client to the proxy, which I presume does not involve the firewall.

what actually DOES happen? What do your squid logs say? Is squid even running? can you prove that with a "netstat -pant" output?
Sorry for delayed response and thanx for ur reply. I could trace out the problem. Issue was with firewall. Firewall was blocking the client reuqests, when i tried disabling the firewall everything worked fine. But how do i achieve the same without disabling the firewall, can u please help?

I want to allow 192.168.1.X :8080 to be allowed through firewall.
 
Old 01-07-2013, 08:01 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
well configure the (unnamed) firewall to do it... or is this an iptables ruleset? if so then whatever iptables config tool you use can add this pretty trivially.

You've said you tried to open it, but you've not actually given any details about what you did etc.
 
  


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 configuration in rhel5 and deny deny accessing websites renjindd Linux - Newbie 1 09-09-2012 09:58 AM
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 12:25 PM
NIS Server Configuration in RHEL5 AslamAnsari Linux - Server 2 01-05-2010 08:54 AM
LDAP server configuration on RHEL5 ciphyre Linux - Server 14 11-19-2008 03:36 AM


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