Why not both?
Why not both?
Wireguard doesn’t answer unless you hand shake with a valid package.
There are three 512 bit keys.
And you can put ssh behind it with ssh keys.
The extra later of defence is quite significant.
No “actual user” is blocked by fail2ban. They auth with keys, can’t really fail.
Blocking after three fail is very reasonable and effective. It also keeps the logs noise down.
I have a “prep script” that takes care of everything.
It takes less than 2 minutes to run on a fresh install and does all kind of fun things.