security

Csf: Allow Specific Port Range

Sysadmin
bees

How to allow output connection

IP : 1.1.1.1 
PORT: 8001-8008

Resolution

vim /etc/csf/csf.allow
tcp|out|d=8001_8008|d=1.1.1.1/32 # tcp out connection
csf -r

Ref