Set Default Policy for a Chain
    • 02 Sep 2024
    • 1 Minute to read
    • Dark
      Light
    • PDF

    Set Default Policy for a Chain

    • Dark
      Light
    • PDF

    Article summary

    Set default Policy for a Chain through CLI

    Before changing the default policy for a chain to drop ensure that all required accept rules have been entered. After the change takes effect all not allowed access will be dropped.

    1. Log in to the Nodegrid device CLI console with an admin account.

    2. Navigate to the firewall policy to changed.
      IPv4 Policies are located at:

      [admin@nodegrid /]# cd /settings/ipv4_firewall/policy/

      IPv6 Policies are located:

      [admin@nodegrid /]# cd /settings/ipv6_firewall/policy/
    3. Use the show command to list the current settings.

      [admin@nodegrid policy]# show input = accept
      output = accept forward = accept
    4. Change the default policy for a chain with the set command.

      [admin@nodegrid policy]# set input=drop
    5. Use the commit command to save and activate the changes.

      [+admin@nodegrid policy]#commit

    Set default Policy for a Chain through WebUI

    Before changing the default policy for a chain to drop ensure that all required accept rules have been entered. After the change takes effect all not allowed access will be dropped.

    1. Log in with an admin account and go to Security::Firewall.

    2. Select the Chain for which the default policy should be changed.

    3. Click on Change Policy.

    4. Set the new default policy and accept the change with Save. The new Policy gets saved and will be effective immediately


    Was this article helpful?

    What's Next
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence