Is it possible to forward a port to an address specified by a hostname rather than an ip address using firewalld.
For example something like:
sudo firewall-cmd --add-forward-port=port=2222:proto=tcp:toport=22:toaddr=example.com
I have many VMs running on my remote machine and i would like to have a central place in my /etc/hosts
to update the address of them.