ssh into fedora inside virtual box over internet

Solution For Your Network Issues.

ssh into fedora inside virtual box over internet

Postby sreelakshmi » Fri Jan 30, 2015 10:42 am

I am running fedora server in a virtual box inside a windows 7 host. I can ssh into fedora from this windows 7 host.

How ever, I stay out of my place most of the times with a laptop at my disposal, but its config doesn't allow me to run vms on it.

What I am looking for is ssh-ing into my VM from my laptop over internet.

Is this possible ? if yes, how do I have to configure it ?

My virtual box is set up with 2 adapters i) NAT with port forwarding and ii) Host Only Adapter.

I am very new to linux and I need some help.
sreelakshmi
 
Posts: 0
Joined: Fri Jan 30, 2015 10:26 am

Re: ssh into fedora inside virtual box over internet

Postby rameez » Sat Jan 31, 2015 12:49 pm

Yes, it is possible to login via your public IP. The two things that you have to configure is;

1) Buy a Static IP
2) NAT/Portforward your static IP on Host with your Private IP of VM.

You may refer: https://technet.microsoft.com/en-us/lib ... 69812.aspx


:) :) :) :)
rameez
 
Posts: 0
Joined: Tue Nov 25, 2014 5:17 pm


Return to Linux Networking

Login  •  Register

cron