Custom chains' name
Hello,
I wanted to use SSHGuard with iptables, since I use awall and SSHGard needs a custom chain named sshguard I added this configuration (hard to find out btw)
{
"before": "ssh",
"description": "Custom chain for SSHGuard",
"custom": {
"sshguard": { "target": "ACCEPT" }
},
"filter": [
{
"in": "WAN",
"service": "ssh",
"action": "custom:sshguard"
}
]
}
but the translated iptables command gives a chain named custom:sshguard instead of just sshguard : I had to edit SSHGuard lib to work with this chain's name.
I don't know if it's on purpose, to avoid awall-reserved name?