While installing APF on your VPS you get the following error :
apf(28442): {glob} status log not found, created
apf(28463): {glob} flushing & zeroing chain policies
apf(28463): {glob} firewall offline
apf(28500): {glob} activating firewall
apf(28551): {glob} unable to load iptables module (ip_tables), aborting.
apf(28500): {glob} firewall initalized
apf(28500): {glob} !!DEVELOPMENT MODE ENABLED!! – firewall will flush every 5 minutes.
You need to configure the APF for your VPS.
nano -w /etc/apf/conf.apf
modify
to
Restart APF
apf -r
Now you will be able to complete apf installation fine :)
No its not working…
apf(36568): {glob} activating firewall
/etc/apf/internals/functions.apf: line 100: /sbin/lsmod: No such file or directory
apf(36610): {glob} could not verify that interface venet0:0,venet0:1,venet0:2 is routed to a network, aborting.
apf(36568): {glob} firewall initalized
Seems a different issue with your VPS. lsmod should work on VPS. However ithe output is blank.
# lsmod
#
If you need assistance let me know email me at admin ( at ) linuxbabu.net. Won’t charge for it 🙂
Hello,
Yes.. in my vps the lsmod commadn shows blank outpur.
How to know the iptables modules are enabled in my vps.
lsmod is not working.
#lsmod
#
Thanks and Regards
ejd021