The best device to prevent unauthorised users gaining access to your network is a hardware firewall. This device will sit between your Internet router and your private network and when properly configured will stop any potential attacks.