Use a firewall
A firewall is designed to protect one computer network from another. They are used between areas of high and low trust, like a private network and the internet. Firewalls offer protection by controlling traffic entering and leaving a network. The firewall does this using a set of filters or rules that are set by the user to allow or block particular types of traffic. A firewall can help protect against hackers accessing your systems if correctly set up.