Computing.Net > Forums > Linux > Squid Proxy using outside

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Squid Proxy using outside

Reply to Message Icon

Name: chandu
Date: August 28, 2002 at 23:07:16 Pacific
Comment:

Somebody use my Squid Proxy server outside. How I can stop outside accessing in Squid Proxy server. I have deny all http_access. But I am not understand how can he use my Squid Proxy server outside.

Thanks a lot advance.



Sponsored Link
Ads by Google

Response Number 1
Name: Ashfaq
Date: August 29, 2002 at 00:19:20 Pacific
Reply:

MAnage your Acl Properly to block the unautherised access .Here are some settings in squid.conf to look into.

acl lahore src 192.168.0.1/255.255.255.0

(By this I have define a class of IP’s with the name lahore . Now I will allow or deny this class in the ACL. Any class may be made in the ACL and it can be allowed or denied.)

(Ports I have opened on Squid Server:
The following are some ports and their description, which we have opened on Squid server for its connections to the world of Internet. SSL_ports are those which are secure and Safe_ports are those which are standard.)

acl SSL_ports port 443 HTTP Protocol over TLS/SSL
acl SSL ports port 563 NNTP Protocol over TLS/SSL
acl Safe_ports port 80 HTTP (Normal)
acl Safe_ports port 21 File Transfer Protocal
acl Safe_ports port 70 Gopher
acl Safe_port port 210 Wais,ANSI
acl Safe_port port 1025-65535
acl Safe_ports port 280 HTTP-MGMT
acl Safe_ports port 448 DDM-RFM
acl Safe_ports port 591 Filemake
acl Safe_ports port 777 Multiling HTTP
acl CONNECT method CONNECT
http_access allow lahore (The IP class with name lahore is allowed by this. )
http_access deny !Safe_ports (The connection is refused if it is not on Safe ports )
http_access deny !Safe_ports
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports (Connection is refused if it is not on SSL-ports)
http_access deny all (It will deny all other connections to be established other than I have allowed in the above access control lists)

I hope this will help you
Regards
Ashfaq


0

Response Number 2
Name: chandu
Date: August 29, 2002 at 03:14:27 Pacific
Reply:

Hi Ashfaq

Thank you very much.

Regards,
chandu


0

Response Number 3
Name: Ashfaq
Date: August 29, 2002 at 03:17:23 Pacific
Reply:

No Problem you are welcome :)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Squid Proxy using outside

Squid Proxy Server www.computing.net/answers/linux/squid-proxy-server/26901.html

how to configure squid proxy server www.computing.net/answers/linux/how-to-configure-squid-proxy-server/25101.html

squid proxy usr restriction www.computing.net/answers/linux/squid-proxy-usr-restriction/24024.html