nerdexam
Red_Hat

RH302 · Question #152

21: Configure the squid server to allow the Local Domain and deny to my133t.org domain.

Answers: At Exam lab example.com domain resides on 172.24.0.0/16 Network and my133t.org resides on 172.25.0.0/16 Network. 1. vi /etc/squid/squid.conf #Default: http_port 8080 #Recommended minimum configuration: Near the src acl src section acl allownet src…

Network configuration

Question

21: Configure the squid server to allow the Local Domain and deny to my133t.org domain.

Explanation

Answers: At Exam lab example.com domain resides on 172.24.0.0/16 Network and my133t.org resides on 172.25.0.0/16 Network.

  1. vi /etc/squid/squid.conf #Default: http_port 8080 #Recommended minimum configuration:

Near the src acl src section

acl allownet src 172.24.0.0/255.255.0.0 acl denynet src 172.25.0.0/255.255.0.0 #Default:

http_access deny all

#Under Here http_access allow allownet http_access deny denynet 2. service squid start

Topics

#squid proxy#ACL#domain filtering#proxy configuration

Community Discussion

No community discussion yet for this question.

Full RH302 Practice