SSH server
This guide will show you how to whitelist your GoodAccess IP address in SSH server.
Last updated
Was this helpful?
This guide will show you how to whitelist your GoodAccess IP address in SSH server.
Make sure you've entered the correct IP address to avoid any connection issues.
To whitelist the IP, open /etc/hosts.allow file, enter GoodAccess Gateway IP/32, and Save the file.
sshd: 21.22.23.24/32, 33.34.35.36/32This line will allow all the comma separated IP blocks to your SSH port
To block access from all other sources, open /etc/hosts.deny file, enter "ALL", and Save the file.
sshd: ALLNote: There are several other ways to restrict access to SSH servers like IPTABLES firewall (restrict the access to TCP port 22), or SSH daemon config.
Last updated
Was this helpful?
Was this helpful?