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
    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

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 380

    Thank you, this typo will be fixed promptly.

  • This lab does't fixed and it's confusing

  • Posts: 380

    The change has been added to the next version.

    Thank you for bringing this to our attention.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training