Skip to content

Imunify360's CLI tools cover a lot of functionality, but they're not very concise. This wrapper script solves that problem by making IP bans, searches, ban removals easier

License

Notifications You must be signed in to change notification settings

websavers/Imunify360-Firewall-CLI-CSF-Wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Imunify360 Firewall CLI CSF Wrapper

Imunify360's CLI tools cover a lot of functionality, but they're not very concise. This wrapper script solves that problem by making IP bans, searches, ban removals closer to CSF's simpler syntax

Installation Instructions

  • Ensure you have Imunify360 installed
  • Via SSH, as root, run:
curl -o /usr/local/bin/imu https://raw.githubusercontent.com/websavers/Imunify360-Firewall-CLI-CSF-Wrapper/main/imu
chmod +x /usr/local/bin/imu
ln -s /usr/local/bin/imu /usr/bin/imu

The symlink ensures imu is available as a command by being in the $PATH var.

Usage

imu -d [ip] [description] -- denies an IP address imu -dr [ip] -- remove IP from the deny list imu -g [ip] -- greps/searches the IP bans for the specified IP

About

Imunify360's CLI tools cover a lot of functionality, but they're not very concise. This wrapper script solves that problem by making IP bans, searches, ban removals easier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages