Squid : Install2024/11/14 |
Install Squid to configure Proxy server. |
|
[1] | Install Squid. |
[root@prox ~]# dnf -y install squid
|
[2] | This is general forward proxy settings. |
[root@prox ~]#
vi /etc/squid/squid.conf ..... ..... acl Safe_ports port 777 # multiling http # line 28 : add your local network # network range you allow to use this proxy server acl my_localnet src 10.0.0.0/24 # line 66 : add a line you defined ACL # http_access allow localnet http_access allow my_localnet[root@prox ~]# systemctl enable --now squid |
[3] | If Firewalld is running, allow Proxy service. |
[root@prox ~]# firewall-cmd --add-service=squid success [root@prox ~]# firewall-cmd --runtime-to-permanent success |
Sponsored Link |