Welcome to the Linux Foundation Forum!

Lab 15.1 - Exploring iptables Firewalls

Item 11 reads:

  1. Add an iptables rule to reject **new ** connections on port 4200. If there is an established connection, it should continue to
    # iptables -A INPUT -p tcp -m tcp --dport 4200 -m state --state ESTABLISHED -j REJECT
    If there was an established session, it should continue to function. Any new connections should fail.

Correct should be
# iptables -A INPUT -p tcp -m tcp --dport 4200 -m state --state NEW -j REJECT


  • lee42xlee42x Posts: 158

    Thank you, this typo will be fixed promptly.

Sign In or Register to comment.