mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Manual UFW Rules Deleted After CloudPanel UFW Rule Update #260
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Karman40 on 2/27/2024
CloudPanel version(s) affected
v2.4.1
Description
I've encountered an issue with the UFW (Uncomplicated Firewall) rules setup via CloudPanel. Whenever I manually add UFW rules through the command line, these rules are subsequently deleted if any UFW rule updates are made through the CloudPanel interface.
This behavior poses a challenge, especially since I need to enforce specific firewall rules, like blocking outgoing traffic on port 25, to meet our security requirements. Unfortunately, I cannot find an option within CloudPanel to add this specific rule for blocking outgoing traffic on port 25.
Could you please consider adding a feature that allows for the permanent addition of custom UFW rules through the CloudPanel interface? This would greatly help in managing firewall rules without the risk of them being overridden by CloudPanel's updates.
Thank you for considering this request. I look forward to your response.
How to reproduce
sudo ufw deny out 25
Possible Solution
No response
Additional Context
No response