I've set it up for easy local testing in a Linux environment, so I'll keep it for your notes.
My environment is Cent OS 8 and I set remote access permissions in /etc/hosts.allow. The IP address is 192.168.3.〇〇/24, so I tried to touch not only me but also other people on the same network. The settings are as follows.
sshd : 192.168.3.
Prohibits SSH connections from all IP addresses except those set in hosts.allow.
sshd : all
I'm sorry for the small number. Recently I'm also studying Linux.