Why am I no longer able to reconnect to remote server

I worked fine on a remote server (ubuntu-16.04), and when I ran the command from https://github.com/ubuntu/microk8s/issues/408 to fix a bridging problem in microk8s (kubernetes) I fell into a bigger problem and which isn't my domain either. I lost the connection to the server and I am no longer able to reconnect.

I suspect the following command:

sudo firewall-cmd --zone=trusted --add-masquerade --permanent

I don't know what the command did, I would just like to go back to the state before the execution of this damn command.


I executed the command sudo firewall-cmd --zone=trusted --add-masquerade --permanent by accident, thanks to @berndbausch and @Michael Hampton comments I solved the problem by executing the following commands:

sudo firewall-cmd --zone=trusted --remove-masquerade --permanent
sudo firewall-cmd --reload