LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Suid proxy server configuration issues in RHEL5 (https://www.linuxquestions.org/questions/linux-server-73/suid-proxy-server-configuration-issues-in-rhel5-4175444254/)

hiten801@gmail.com 01-05-2013 06:18 AM

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

acid_kewpie 01-06-2013 04:50 PM

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?

linosaurusroot 01-07-2013 05:55 AM

Have you thought of deleting the post and reposting with the correct title - more likely to get appropriate attention?

hiten801@gmail.com 01-07-2013 06:35 AM

Quote:

Originally Posted by acid_kewpie (Post 4864151)
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.

acid_kewpie 01-07-2013 07:01 AM

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.


All times are GMT -5. The time now is 03:54 PM.