Hi,

I have a centos 7 host server, which hosts vmware vms with various Os.
I want to reach a ubuntu 14.04 vm through ssh and x2go (ssh as well).

What I did.
1/ open a 2296 port in firewalld.
2/ add 2296=internalvmip:22 in tcp section of
/etc/vmware/vmnet8/nat/nat.conf  (vmnet8 being the vms network)

>From the host server I can ssh the vm, but from outside, a ssh -p 2296
user@hostserverip gives me a connection refused.

I tried a
firewall-cmd --zone=external
--add-forward-port=port=2296:proto=tcp:toport=22:toaddr=internalvmip

but it does not change anything.

What am I missing ?
_______________________________________________
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt

Reply via email to