This task can be performed using Knocknoc
Removes the attack surface of your assets
Best product for this task

Knocknoc
tech
Knocknoc reduces the attack surface of existing infrastructure by orchestrating network-level access controls and linking them to an identity platform. Ports remain closed, and services stay invisible until users log in centrally. Knocknoc handles the rest.
Attack surface reductionNetwork securityRemote access protectionIdentity-based security controlsZero-trust architecture

What to expect from an ideal product
- Knocknoc keeps all network ports closed by default so attackers can't see what services are running on your servers
- Users must authenticate through a central login system before any network access is granted to hidden services
- The system automatically opens only the specific ports needed for each authenticated user, then closes them when done
- Network services remain completely invisible to port scanners and unauthorized users until proper authentication occurs
- Access controls are managed centrally through your existing identity platform, eliminating the need to configure individual server firewalls