From: Daniel A. <co...@da...> - 2017-05-24 00:48:00
|
On Tuesday, 23 May 2017 04.45.01 CEST, Darshil Shah wrote: > I've installed sshguard on a home server and was wondering if I > had set up whitelisting properly. > > What I have done is create a sshguard.conf file inside /etc and > have added a line and then restarted the sshguard service: > > # local ip whitelist > -w local.ipaddress > > because I don't want to lock myself out when accessing from the > local network. > > Will this whitelist work? Or is a separate whitelist file required? No. You can specify the -w argument on the command line, but you cannot include it in the configuration file. You’ll need to use a separate whitelist file. -- Daniel Aleksandersen https://daniel.priv.no/ |