Sunday, November 27, 2022
Centos

Install Proxy Squid di centos 6

langkah nya sebagai berikut :

1 yum update -y
2 yum install nano -y
3 yum -y install squid
4 cd /etc/squid/
5 nano squid.conf
6 mv squid.conf squid.conf.old
7 nano squid.conf

add this line :

#
# Recommended minimum configuration:
#
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1

# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
#acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
#acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
acl lan src 192.168.25.107
acl lan src 202.56.163.70
acl lan src 192.168.43.133
acl lan src 120.188.34.227
acl lan src 192.168.25.111
acl lan src 202.56.163.50

(Visited 25 times, 1 visits today)
Klik untuk berbagi dengan orang lain
Baca Juga :  Install Minio di centos 7

Similar Posts