I want to allow only a few IP addresses for making SSH connection. I'm using CentOS 7 with firewalld and OpenSSH SSH client.
How can I achieve this?
I want to allow only a few IP addresses for making SSH connection. I'm using CentOS 7 with firewalld and OpenSSH SSH client.
How can I achieve this?
you can achieve by reading following:
man firewall-cmd
(firewall-cmd - firewalld command line client)man iptables
(iptables/ip6tables — administration tool for IPv4/IPv6 packet filtering and NAT)