Greetings,
I need to reinstall the firewall and its components on my laptop. After messing around with it to get kdeconnect working properly with home and public zones things got messed up. Now when I configure the firewall from scratch my desktop hangs, Filemanager doesn’t work and webbrowser takes a long time to start up if it starts up at all. Disabling firewall in settings and everything works again. Here are the commands that I used to configure the firewall:
sudo firewall-cmd --reset-to-defaults
sudo firewall-cmd --complete-reload
sudo firewall-cmd --load-zone-defaults=home --permanent
sudo firewall-cmd --zone=home --add-service=kdeconnect --permanent
sudo firewall-cmd --zone=home --add-port=1714-1764/tcp --permanent
sudo systemctl restart systemd-networkd
sudo systemctl restart firewalld
What are the commands to fully reinstall firewalld and remove all old config files etc?
Thank you