How can I only allow SSH from my IP address and block it on the firewall for everyone else?

  1. 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
  2. After you are sure that your IP address is whitelisted on the firewall go to Juggernaut Firewall -> Settings -> Firewall -> Port Settings and remove port 22 from TCP in and TCP6 in.
  3. Press the update button to save your settings.
  4. Press the restart button to restart the firewall.

Because your IP address is whitelisted though the firewall now that port 22 is removed from TCP in and TCP6 in it will be blocked for everyone else except your IP address.

  • ssh
  • 0 Użytkownicy uznali za użyteczne
Czy ta odpowiedź była pomocna?

Powiązane artykuły

How can I raise the open file limit for the login failure daemon?

The login failure daemon can crash if you are monitoring a lot of domains in Plesk and are...

How can I test to make sure that the OS has all the required kernel modules required for Juggernaut Firewall?

Test from the Juggernaut Extension You can run the firewall test by going to Juggernaut Firewall...

How can I adjust the attack triggers used by the login failure daemon?

To Adjust Login Failure Triggers Navigate to Juggernaut Firewall -> Settings -> Login...

Where are the configuration files for Juggernaut Firewall located?

Configuration files are located in the /etc/csf/ directory with the main firewall configuration...

How can I use Juggernaut Firewall to monitor a list of directories?

Enter the Directories You Want To Monitor Navigate to Juggernaut Firewall -> Settings ->...