<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>I have a centos 7 host server, which hosts vmware vms with various Os.<br></div>I want to reach a ubuntu 14.04 vm through ssh and x2go (ssh as well).<br><br></div>What I did.<br></div>1/ open a 2296 port in firewalld.<br></div>2/ add 2296=internalvmip:22 in tcp section of /etc/vmware/vmnet8/nat/nat.conf  (vmnet8 being the vms network)<br><br></div>From the host server I can ssh the vm, but from outside, a ssh -p 2296 user@hostserverip gives me a connection refused.<br></div><br></div>I tried a<br>firewall-cmd --zone=external --add-forward-port=port=2296:proto=tcp:toport=22:toaddr=internalvmip<br><br></div>but it does not change anything.<br><br>What am I missing ?<br><br></div>