question archive Activity 4 Adding Packet Filtering Rules Using iptables Learning Objectives and Outcomes:You will use the iptables utility to configure the kernel-based packet filtering firewall

Activity 4 Adding Packet Filtering Rules Using iptables Learning Objectives and Outcomes:You will use the iptables utility to configure the kernel-based packet filtering firewall

Subject:Computer SciencePrice: Bought3

Activity 4 Adding Packet Filtering Rules Using iptables
Learning Objectives and Outcomes:You will use the iptables utility to configure the kernel-based packet filtering firewall.
Required Setup and ToolsCentOS 6.7 installation
Procedures:1. From the command line, insert a rule to accept SMTP packets (port 25) as used by sendmail.
2. View your configuration.
a. On your system, does your rule appear in the output of iptables -L?
b. Does your rule appear in the /etc/sysconfig/iptables file?
c. Reboot the system and retest.
3. From the command line, again add your rule to allow SMTP traffic. After testing your configuration,
ensure that the rule remains in place after a reboot, by modifying the appropriate configuration file.
4. Modify the configuration file and apply the changes.
a. Edit the /etc/sysconfig/iptables file to add rules to allow portmap (TCP port 111) and NFS traffic (TCP and 
UDP port 2049).
b. new rules appear in the output of iptables -L?
c. How can you apply these rules without rebooting?

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions