Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • iptables command for moving entries from one chain to another?

    Posted on

    Is there an iptables command or easy way to move a row from one chain of iptables to another chain of iptables? For example, we use sshguard, so there is an sshguard chain in our iptables. The IP's logged there are not always blocked; they are caught by sshguard and logged into the iptables but we see no hits against them unless we block that IP in the INPUT chain of iptables. We have to manually move them from one chain to the other. We are thinking about how to write a script to do it, but thought we'd check first if such a command already exists.
    Thanks!
    Julie

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat