RHEL 7.4 Allow IP for SSHD autheticated scan from Security Scanner

There is a security system scanner that needs to access a server to scan.  If it states the below, what would be the command to allow?  I've check sshd_config and thought allowed IPs would be in that config.  But it seems I need a command and the system previous setup owner is gone at my current new job.  

RHEL 7.4 Maipo

If you are running IP filters or IP wrappers you will need to permit the systems to access your system via Secure Shell (SSH) on port 22. The IP addresses for the systems are

1.2.3.4
2.3.4.5
and
2.5.6.7

These are just placeholder IP addresses.  
What would be the command line only to add this?
System AdminAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arnoldCommented:
for ip wrappers, you would add
sshd:IP in /etc/hosts.allow to allow IP access to the SSH port.

which RHEL firewall is in use, firewalld or iptables
the generatl rule would be to check if the source is IP and the destiantion is port 22 then accept.
where IP is the IP you wish to authorize.
If you have both, a firewall and wrappers, you would have to do both to allow the system with IP access to port 22.
0
System AdminAuthor Commented:
Firewalld, I'm testing some commands now.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.