To Allow SSH Access From Your Country Only
- First make sure that your IP address is whitelisted on the firewall so you do not accidentally lock yourself out of your server. See: https://www.danami.com/clients/knowledgebase/158/How-can-I-whitelist-an-IP-address-or-hostname-using-Juggernaut-Firewall.html
- Make sure that you have signed up for your free MaxMind license key and have entered it under Juggernaut Firewall -> Settings -> Geolocation Settings.
- Navigate to Juggernaut Firewall -> Settings -> Login Failure Daemon -> Country Settings.
- Add the countries to Allow countries to ports and add port 22 to Allow countries to TCP ports.
- Click the Update button to save your settings.
- Click the Restart button to restart the firewall and login failure daemon.
- Navigate to Juggernaut Firewall -> Settings -> Firewall -> Port Settings.
- Remove port 22 from TCP in and TCP6 in.
- Click the Update button to save your settings.
- Click the Restart button to restart the firewall and login failure daemon.