Hi guys, how I can edit firewall rule, I want change from 0.0.0.0/0 IP to my own IP for 8090 port.
If I trying add new rule for the same port, I have notice that this is double rule and cyberpanel cant create the new rule.
Hi guys, how I can edit firewall rule, I want change from 0.0.0.0/0 IP to my own IP for 8090 port.
If I trying add new rule for the same port, I have notice that this is double rule and cyberpanel cant create the new rule.
any solution?
bump
Install CSF it is a better firewall
Thank you for your solution, but I don’t want better, I just looking how change IP with default firewall.
I also want to know where iptables is loading its rules from in presence of CSF?
Ok I have found the solution for how to block certain port on certain ip.
Things to note:
To allow certain port on one or range of ip’s do the following:
sudo nano /etc/csf/csf.allow
tcp|in|d=22|d=192.168.0.5
nano /etc/csf/csf.conf
find tcp_in port 22 and remove it