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 have set up squid 2.5 server as my proxy.I could access Internet from the server itself and it is shown in the squid access log as well(when accessing through this squid). But I am not able to access Internet from other machines which are on the same LAN, though i got ping reply from the server. No progress is shown at all on the access log while trying to access.. Here is part of my config file:
is 255.255.255.0 (/24) your proper network mask? not /16 ? give us an examble of the IP address of a client from which you are trying to browse.
Did you configure the proxy settings on the clients (properly)
Secondly, could there be any network security issues preventing access to squid? try
# telnet squid-server 8080
and see whats the response like.
Finally if all above is good, send your complete squid.conf here.
I do not think the problem is the netmask of the acl as then squid would have logged a DENY action in the log file, nothing is being logged meaning the connection does not get to squid.
As i mention, the server's acceses is logged when proxy is given on the server's browser. But no others acess were logged at all, even though i could get a ping reply from the server.
Regarding the IP tables, i dont have much idea, i just use the default setting on IP table.
Regarding netmask.../24 is our netmask given. client's Ip: 10.180.0.118/255.255.255.0. I have given the proxy setting properly on the client side.
Regarding the configuration, i just changed as follow (no other lines have been changed in the config filena
As they mentioned above, have you checked your iptables whether it is turnon or not? if it is turnon check the following entry whether it is exist or not
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
Thank you guys for your replies, now its' working. i have appended a line in the iptable config file:
-A RH-Firewall-1-INPUT -s 10.180.0.0/24 -m state --state NEW -p tcp --dport 8080 -j ACCEPT
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.