change command iptables to csf
Posted: 01 Oct 2018, 11:13
Hello,
i have two line code for iptables for allow just a range ip for able check my port, cause i have a backend ip (reverse proxy), and i dont want anyone able detect it (for secure against ddos and etc)
its below, but when i installed CSF, iptables disabled, so i want know how i can run this two command on CSF?
iptables -I INPUT -p tcp -m multiport --dports http,https -s 186.2.160.0/24 -j ACCEPT
iptables -I INPUT -p tcp -m multiport --dports http,https -s 77.220.207.192/26 -j ACCEPT
Thanks.
i have two line code for iptables for allow just a range ip for able check my port, cause i have a backend ip (reverse proxy), and i dont want anyone able detect it (for secure against ddos and etc)
its below, but when i installed CSF, iptables disabled, so i want know how i can run this two command on CSF?
iptables -I INPUT -p tcp -m multiport --dports http,https -s 186.2.160.0/24 -j ACCEPT
iptables -I INPUT -p tcp -m multiport --dports http,https -s 77.220.207.192/26 -j ACCEPT
Thanks.