25.iptables.ans.even.RH4

Practical Guide to Fedora and Red Hat Enterprise Linux, A (4th Edition)

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Answers to Even-numbered Exercises 1. Hains? 2. How would you list all current iptables rules? The following command lists all iptables rules: # /sbin/iptables -L 3. How es? 4. Define an iptables rule that will reject incoming connections on the TELNET port. The following command rejects incoming connections on the TELNET port: # iptables --append FORWARD --sport telnet --jump REJECT 5. Wle do? 6. What does the conntrack module do? The conntrack module implements the connection tracking machine, which gives you information on the state of a packet, allowing you to
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: define rules that match criteria based on the state of the connection the packet is part of. 7. What for? 8. What do packet match criteria do? What are they used for? Packet match criteria identify network packets and implement rules that take action on packets that match the criteria. 9. Which utk? 10. Define a rule that will silently block incoming SMTP connections from spmr.com . The following command blocks incoming SMTP connections from spmr.com : # iptables --append FORWARD --dport smtp --source spmr.com --jump DROP 25...
View Full Document

Ask a homework question - tutors are online