I am trying to allow all hosts in my subnet to connect to a server I have running in VirtualBox with ssh. I have tried several different methods so far, none of which have made any progress. What I want is to allow all hosts on my subnet to attempt to login without being blocked after an arbitrary number of failed attempts. (As of right now it takes 6 attempts for me to be blocked.) Every method I have found online so far has not worked. Many of them are very similar but I tried them anyway. None of them worked. I am using a NAT network setting. I have port forwarding already set up. What i need to be able to do is allow a user, whether valid or not, to attempt to login as many times as they wish without blocking the IP they are attempting to login from.
When I attempt to login to my virtual system from my host system the IP that gets blocked is 10.0.2.2
When I run ifconfig the ip address that shows is 10.0.2.15/24
I have tried these different methods:
For the /etc/hosts.allow file I have tried
sshd: 10.0.2.
ALL: 10.0.2.
sshd:10.0.2.2
sshd: ALL: 10.0.2.15/24
sshd: 10.0.2.15/24 :ALLOW
For the /etc/hosts.deny file I have tried
ALL: ALL
sshd: ALL
Can anyone explain to me how to get this to work? Every method I have tried above still blocks me after 6 failed attempts
Any help, tips, or suggestions will be greatly appreciated!
