Removing a rule from the firewall?

Hi all,

for testing I ve add a tcp-rule to the ynh-firewall. Now I want to remove it. But …? How can I to this? I cant find any button to remove the rule. Or m I eyeless? :wink:

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.0.10.2 (stable)
I have access to my server : Through SSH | through the webadmin

Thanks for your help

Hello,

You can delete this rule in command line

For tcp :

yunohost firewall disallow TCP <your port>

for udp :

yunohost firewall disallow UDP <your port>

Restart firewall

yunohost firewall reload
1 Like

That works! Thank you :slight_smile: :+1:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.