iptables command for moving entries from one chain to another?
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
Responses