:POSTROUTING ACCEPT [137:8721]
-A PREROUTING -p tcp -m tcp --dport 8443 -j DNAT --to-destination 192.168.122.100:443
I am connecting as follows; https://myserver.com:833
This is to reach a vm running an app on port 443. The host is already using 443 so I need to change the port going to the vm.
For some reason the above rule never works but one time. Meaning, when I connect to the vm (centos7, kvm), I can connect to its port 443 as it should be but once I click on anything else, my url is constantly changed back to http so I lose the connection until I change it back to https.