Squid not giving web pages to client machines.
I have configured squid on Cent OS .Internet is working on the server but on the client side there is no browsing.In the client computer web browser I also add in the proxy setting my proxy server IP with port 8080 but no success. the client computer even ping with the proxy server. Kindly view my log messages and guide me what will be the issue?
thanks garden Code:
[root@test-proxy ~]# tail -f /var/log/messages |
port 8080 is usually remapped for http port 80 for security reasons and may not be squid port. The default port for squid is 3128.
Check your squid.conf file for line 'http_port 3128'. If it is different number then that is what you will require to be configured in browsers of client. On client there is common setting for all applications under Administration->proxy server. However you may also require to configure the same even in individual browsers. |
well I just disable SELinux.Then test on the client computer it does not work. At the end I stop firewall
i.e Code:
service iptables stop Now I want to discuss that to disable firewall is not a good practice.It is lack of security. How can I add my trusted network into the firewall so that without disabling firewall ? |
iptables -t nat -A PREROUTING -d EXTERNALIP -p tcp --dport 8080 -j DNAT --to 10.1.81.13
|
Thanks for the reply.kindly can u explain the firewall rule from technical language to simple english.any other expert may participate guide me with his own experiance.
|
All times are GMT -5. The time now is 10:13 AM. |