Displaying 1 result from an estimated 1 matches for "hostserverip".
2016 Feb 21
0
ssh access to vmware vm from outside
...each 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 at 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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos....