On 2024-07-14 17:07, David C. Rankin wrote:
All,
I rarely mess with the firewall in Yast, so this may be expected behavior. I made changes to allow remote LAN connections to a postgresql database. The connections failed claiming port 5432 wasn't open on my laptop.
I used Yast firewall to put the wireless connection on "home", set it as default and added postgresql to the allowed services and clicked "Accept". The remote connections continued to fail, so I used netstat to check whether the port was open with:
$ sudo netstat -tulpn | grep LISTEN
Neither postgresql or port 5432 was shown. This seemed bizarre. So I manually restarted firewalld (e.g. sudo systemctl restart firewalld) and bingo, the port was open.
Isn't Yast-Firewall supposed to restart firewalld after changes are made?
I wasn't aware that Yast-Firewall had anything to do with firewalld. To configure firewalld, go the the Application Launcher/Settings and start the Firewall utility. You will need the root password. Any changes you make must be made to the runtime settings; be sure at the end to write the runtime into the permanent settings: Options/Runtime to Permanent. Changes you do make are made to the running configuration, so I don't think it should be necessary to restart the firewalld system service.