how to add a new gateway to an existing network card to access virtual box
Rashkae
ubuntu at tigershaunt.com
Fri Mar 10 05:31:22 UTC 2017
On 17-03-10 12:22 AM, robert rottermann wrote:
> hi there
>
> I have a ubuntu 16.04 running on a remote server, for which I have a
> fixed address assigned by the provider.
>
> on this machine I have a virtual box virtual server running with a
> static address of 192.168.0.104
>
> how do I add a gateway to access this address. it needs to be accessible
> only on the remote server. not from the internet.
>
>
> thanks
>
> robert
>
>
>
I might be misinterpreting what you are trying to achieve, but assuming
your VirtualBox server can reach the internet through some kind of NAT,
you can do one of two things:
Forward the ports you want from the Internet gateway to the VirtualBox
server, but only accept connections from the static IP of the remote server.
Or 2. Install OpenVPN Server on the remote server, and Openvpn client
on the VirtualBox server, and create a vpn between the two.
More information about the ubuntu-users
mailing list