Firewall rules loads partially after server reboot

Refers to:

  • Plesk 12.0 for Linux

Created:

2016-11-16 13:06:12 UTC

Modified:

2016-12-21 19:57:38 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Firewall rules loads partially after server reboot

Symptoms

Not all firewall rules set in Home > Tools & Settings > Firewall got loaded after server reboot.

If you restart psa-firewall all rules appears in iptables list:

# /etc/init.d/psa-firewall restart
psa-firewall: firewall successfully disabled
psa-firewall: firewall configuration successfully applied

Cause

Permissions for module file are improperly set.

Resolution

Set permissions for register_service utility according to mentioned bellow:

# chown root.psaadm /usr/local/psa/admin/sbin/modules/firewall/register_service
# chmod 0750 /usr/local/psa/admin/sbin/modules/firewall/register_service

# stat /usr/local/psa/admin/sbin/modules/firewall/register_service
File: '/usr/local/psa/admin/sbin/modules/firewall/register_service'
Size: 11535 Blocks: 24 IO Block: 4096 regular file
Device: 2fa0b6d1h/799061713d Inode: 5637772 Links: 1
Access: (0750/-rwxr-x---) Uid: ( 0/ root) Gid: ( 1000/ psaadm)
Have more questions? Submit a request
Please sign in to leave a comment.