nerdexam
Red_Hat

RH302 · Question #148

Port 8080 Configure the squid server to allow the Local Domain and deny to cracker.org domain.

At exam Lab example.com domain resides on 192.168.0.0/24 Network and cracker.org resides on 192.168.1.0/24 Network. 1. vi /etc/squid/squid.conf #default: http_port 8080 #Recommended minimum configuration: Near the src acl src section acl allownet src 192.168.0.0/255.255.255.0…

Network configuration

Question

Port 8080 Configure the squid server to allow the Local Domain and deny to cracker.org domain.

Explanation

At exam Lab example.com domain resides on 192.168.0.0/24 Network and cracker.org resides on 192.168.1.0/24 Network.

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

Near the src acl src section

acl allownet src 192.168.0.0/255.255.255.0 acl denynet src 192.168.1.0/255.255.255.0 #Default:

http_access deny all

#Under Here http_access allow allownet http_access deny denynet 2. service squid start 3. chkconfig squid on squid is a proxy caching server, using squid we can share the internet, block the internet,to certain network. First we should define the port for squid, the standard port for squid is 3128. We can run squid on different port by specifying http_port portnumber.

Topics

#squid proxy#ACL#domain filtering#proxy configuration

Community Discussion

No community discussion yet for this question.

Full RH302 Practice