OS: Kubuntu 16.04 LTS
I've managed to use KDE Connect successfully but I have a question about the ufw settings that are required to allow Kubuntu 16.04 to see my Android.
When I installed Kubuntu, one of the first things I did was to activate ufw and this is the terminal output:
sudo ufw status verbose
sudo password for dkbose:
Status: inactive
sudo ufw enable
Firewall is active and enabled on system startup
sudo ufw default deny
Default incoming policy changed to 'deny'
(be sure to update your rules accordingly)
Then, to use KDE Connect, I had to open certain ports as described in https://community.kde.org/KDEConnect:
sudo ufw allow 1714:1764/udp
sudo ufw allow 1714:1764/tcp
sudo ufw reload
My question is this: I will be using KDE Connect rather infrequently. So how can I reverse the opening of the ports each time I've finished using KDE Connect?
Based on what I read in https://help.ubuntu.com/community/UFW, is running
sudo ufw delete allow 1714:1764/udp
sudo ufw delete allow 1714:1764/tcp
the thing to do?
Do I also need to run
sudo ufw reload
to "update" ufw's rules?
I've seen https://askubuntu.com/a/410225/248158 but I'm not sure that answer is applicable to my question.