Welcome to the Linux Foundation Forum!

Lab 15.1 - Exploring iptables Firewalls

Options

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
    work.
    # 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

Comments

  • lee42x
    lee42x Posts: 380
    Options

    Thank you, this typo will be fixed promptly.

  • ojmartinezm76
    Options

    This lab does't fixed and it's confusing

  • lee42x
    lee42x Posts: 380
    Options

    The change has been added to the next version.

    Thank you for bringing this to our attention.

Categories

Upcoming Training