A system Administrator wants to allow URLS with Port Number. But adding the port number in the Firewall and Squid will not solve the problem of allowing the URLs with port number. The SQUID shows the TCP_MISS/503 in SQUID Log (/var/log/squid/access.log) file. This means the Permission is denied for the request made by the Client.
/etc/squid/squid.conf file and
add the line (if your URL contains port as 81)
acl Safe_ports port 81
Restart the Squid service by
service squid restart
Add the port number in the Firewall
iptables -A INPUT -p tcp –dport 81 -j ACCEPT
Edit the SELINUX File by opening
and Edit the file as
Restart the Machine by:
And you are done with this. You can browse to any port number by allowing in your squid file now.