Mikaela / mikaela.github.io

My website/blog source code. Hosted on this repository/GitHub Pages.
https://aminda.eu/
13 stars 7 forks source link

ufw needs a companion post on how to use Fedora's firewalld from terminal to allow mosh #276

Closed Mikaela closed 1 year ago

Mikaela commented 2 years ago

While it's not that urgent due to Yggdrasil keeping my addresses stable.

Mikaela commented 2 years ago

Wrong issue.

Mikaela commented 2 years ago

So I had some need for this and ended up with

firewall-cmd --add-service=mosh --permanent
firewall-cmd --reload

However I am not sure if the last command caused a temporary lockout or if it was just poor connection.

Additionally I think there was a warning about missing --zone which seems beneficial for distinguishing services allowed anywhere from those at home etc.

Mikaela commented 2 years ago

specific port is e.g. firewall-cmd --zone=home --permanent --add-port=631/tcp (protocol is mandatory)

Mikaela commented 2 years ago
firewall-cmd --add-service=sip --permanent
firewall-cmd --reload