Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
a70932e8
Commit
a70932e8
authored
Mar 05, 2019
by
Francesc Guasch
Browse files
docs(networking): expose machine basic description
parent
12e98266
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/docs/expose_machine.rst
0 → 100644
View file @
a70932e8
Exposing a Virtual Machine
==========================
By default the virtual machines are created inside a private internal
network. This allows the user to reach internet but no connections
from outside are allowed.
Some times we may want to install a server in the Virtual Machine and
grant access to it. There are many ways to expose a Virtual Machine and
allow access to it from outside. Here we describe a few: set a public IP
address, redirect with IPTables and HTTP forwarding.
Setting a public IP
-------------------
One way to expose the virtual machine is use a public IP instead the
private used by default. To do so you have to manually edit the machine
definition before creating the base. Change the network settings to
`bridge <https://www.linux-kvm.org/page/Networking>`_.
This setting gives the more exposure to the virtual machine, so firewalls
and other security measures must be configured.
IPTables redirection
--------------------
You can redirect a port from the host or a virtual machine acting as
gateway to the internal address of the machine you want to expose.
This technique restricts which ports from the internal machine are
exposed from outside.
HTTP Forwarding
---------------
HTTP forwarding can be configured in a web server in the host to access internal web
services from outside.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment