Manual UFW Rules Deleted After CloudPanel UFW Rule Update #260

Closed
opened 2026-04-05 20:26:13 +02:00 by MrUnknownDE · 0 comments
Owner

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

*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_
Sign in to join this conversation.