Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.