READ Free Dumps For RedHat- RH302
Question ID 17512 | Configure to allow the pop3 and imap connection from your domain example.com |
Option A | Answer : 1.vi /etc/hosts.deny ALL EXCEPT .example.com, .my133t.org We can secure the services using tcp_wrappers. There are main two files, /etc/hosts.allow and /etc/hosts.deny. There will be three stage access checking - Is access explicitly permitted? Means permitted from /etc/hosts.allow? - Otherwise, Is access explicitly denied? Means denied from /etc/hosts.deny? - Otherwise, by default permit access if neither condition matched. To deny the services we can configure /etc/hosts.deny file using ALL and EXCEPT options In Client list can be either domain name or IP address. |
Correct Answer | A |
Question ID 17513 | Port 8080 |
Option A | Answer : 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 http_port8080 # 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 # http_access deny all #Under Herehttp_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. |
Correct Answer | A |