ssh access to vmware vm from outside

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos-virt

[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux