Restrict SSH access

Cyberoam:
GUI
Go to SYSTEM/Administration/Appliance Access


F5:

SOURCE: https://support.f5.com/kb/en-us/solutions/public/5000/300/sol5380.html

CLI
Log in to the command line.
Use the following command syntax:
tmsh modify sys sshd allow add { or }

For example, to add the 192.168.1.245 IP address to the existing list of IP addresses that are allowed to log in to the system, type the following command:
tmsh modify sys sshd allow add { 192.168.1.245 }

To create an initial range of IP addresses (192.168.0.0 with a netmask of 255.255.0.0) that are allowed to log in to the system, type the following command:
tmsh modify sys sshd allow add { 192.168.0.0/255.255.0.0 }

Save the configuration by typing the following command:
tmsh save sys config

GUI
-open GUI
– go to System/Platform/SSH IP Allow

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s