diff options
author | Christian Limpach <Christian.Limpach@xensource.com> | 2006-10-05 14:53:29 +0100 |
---|---|---|
committer | Christian Limpach <Christian.Limpach@xensource.com> | 2006-10-05 14:53:29 +0100 |
commit | 56525bb66945dd24fd23b519ac30359a1a9e6c49 (patch) | |
tree | e21ad76718e1743dc5187b899e83a2b1442f9e69 /tools/examples/xend-config.sxp | |
parent | 192d7f59564cbcea44000d35e49643d895cdeffd (diff) | |
download | xen-56525bb66945dd24fd23b519ac30359a1a9e6c49.tar.gz xen-56525bb66945dd24fd23b519ac30359a1a9e6c49.tar.bz2 xen-56525bb66945dd24fd23b519ac30359a1a9e6c49.zip |
[HVM/vncserver] Implement a 'vnclisten' option to limit the interface
that the VNC server from qemu listens on.
Defaults to only listen on 127.0.0.1
The old behaviour (listen on all interfaces) can be restored, by
- changing the system-wide default in /etc/xen/xend-config.sxp by adding:
(vnc-listen '0.0.0.0')
- changing individual domain config files by adding:
vnclisten="0.0.0.0"
Also allows specifying the hostname associated with an interface to limit
to that interface.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'tools/examples/xend-config.sxp')
-rw-r--r-- | tools/examples/xend-config.sxp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/examples/xend-config.sxp b/tools/examples/xend-config.sxp index 9dacf7d3c6..ec88a9fb09 100644 --- a/tools/examples/xend-config.sxp +++ b/tools/examples/xend-config.sxp @@ -130,3 +130,8 @@ # The tool used for initiating virtual TPM migration #(external-migration-tool '') + +# The interface for VNC servers to listen on. Defaults +# to 127.0.0.1 To restore old 'listen everywhere' behaviour +# set this to 0.0.0.0 +#(vnc-listen '127.0.0.1') |