Skip to content

NoEnv/docker-sshguard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Pulls Quay.io Enabled build

docker-sshguard

Description

SSH Guard as Docker Image.

Run

most simple way of running the container

docker run -d --net=host --cap-add=CAP_NET_ADMIN,CAP_NET_RAW -v /var/log/journal:/var/log/journal:ro noenv/sshguard

Check for blocked ips

nft list set ip sshguard attackers
nft list set ip6 sshguard attackers

Check for the sshguard nftable

nft list table ip sshguard
nft list table ip6 sshguard

Manually remove blocked ips

single ipv4

nft delete element ip sshguard attackers { 10.20.30.40 }

flush whole list

nft flush ip sshguard attackers

Source

https://github.com/noenv/docker-sshguard