This is not working?
Somebody here got any tips or tricks?
Thank allot for your time.
WHM cpanel will flush the iptables!
https://YOURSERVERIP/scripts2/doautofixer?autofix=iptablesflush
Well now I’ve locked myself out of the box with APF!
I have kinda disabled all ports that’s accesable like this:
deny_hosts.rules
#ftp
tcp:in:d=21:s=0/0
#ssh
tcp:in:d=22:s=0/0
#smtp
#tcp:in:d=25:s=0/0
…….
out:d=21:d=0/0
out:d=22:d=0/0
……
But I have WHM and CPANEL acces, there I can upload files and modify website files or change configuration of the webserver.
I need to find out how to stop APF from inside the WHM or cpanel.
Is this possible? I have looked for a few hours now it’s not possible I think.
Now I try to upload an php or perl code and accesing the website to apf-f and remove the cronjob.
But does it work?
system(“apf -f”);
exec(‘apf -f’);
?>
This is not working?
Somebody here got any tips or tricks?
Thank allot for your time.
WHM cpanel will flush the iptables!
https://YOURSERVERIP/scripts2/doautofixer?autofix=iptablesflush
Well now I’ve locked myself out of the box with APF!
I have kinda disabled all ports that’s accesable like this:
deny_hosts.rules
#ftp
tcp:in:d=21:s=0/0
#ssh
tcp:in:d=22:s=0/0
#smtp
#tcp:in:d=25:s=0/0
…….
out:d=21:d=0/0
out:d=22:d=0/0
……
But I have WHM and CPANEL acces, there I can upload files and modify website files or change configuration of the webserver.
I need to find out how to stop APF from inside the WHM or cpanel.
Is this possible? I have looked for a few hours now it’s not possible I think.
Now I try to upload an php or perl code and accesing the website to apf-f and remove the cronjob.
But does it work?
<?
system(“apf -f”);
exec(‘apf -f’);
?>
This is not working?
Somebody here got any tips or tricks?
Thank allot for your time.
The solution from cpanel support team:
WHM cpanel will flush the iptables!
https://YOURSERVERIP/scripts2/doautofixer?autofix=iptablesflush