I’ve sometimes ran into the issue where an app that required ports is unable to properly function, due to those same ports that it needs being closed. For example, I’ve personally ran into issues where KDE Connect is unable to connect to my phone, due to necessary UFW ports being closed. Many others have also experienced this. People have also experienced issues with Sunshine/Moonlight not working due to this port shutoff. While I am aware some have raised concerns about this, I feel like my argument branches differently enough to constitute a new topic.
To start, the only way to enable these ports is using the terminal, and while yes, the commands to do so are extremely simple, I feel like it is important to view it from the perspective of a largely significant user-base that is being introduced to CachyOS. Let’s assume they are an “intermediate” power user, and are familiar with terminal commands, but prefer a GUI. They want to link their phone to their computer using KDE Connect, but they fail to. They Google the solution, and find out they can open some ports for the app using a specific set of commands. For a user that has been using the terminal for years, this is nothing to be bothered about, but for a user who prefers the GUI, even if they are comfortable with the terminal, this may make them think “Couldn’t this be simpler?”. It doesn’t feel like an overreaction to think that way, since it is such a simple thing that halts the functionality of the app.
Next, while I understand that at the end of the day, CachyOS is still Arch Linux, and you should expect more relative complexity than say, Linux Mint, the distro still aims for making the user-experience as friendly as it can be (within its philosophy). For example, in the CachyOS Hello app, within the “Apps/Tweaks” menu, there are options to “Install Gaming packages”. Additionally, those gaming packages include programs like Steam and the Heroic Games Launcher. Installing these commonly used programs gets a dedicated button, to make the user-experience more friendly. I feel it’s only fair to add a toggle function for opening or closing those ports for apps like KDE Connect and Sunshine.
Continuing with the idea of a toggled function for opening those ports, I feel this would be a good compromise for those concerned about security. Keeping those ports open is definitely a security risk, and I don’t believe we should just open any specific ones by default. But, this other extreme isn’t that great, as it forces people into the terminal for a simple function. I believe a good compromise to this would be adding its own button into the “Apps/Tweaks” section of the CachyOS Hello app. That way, it would respect both the wishes of users who prefer using the GUI and those who prefer keeping this security on their system.
