Linux-VServer The Best Way to provide Virtual Dedicated Servers on Linux #5

Networking issue

Services on host server

We suggest do not run any services on your host server. If you need to run services on the host server you will have to tell them to only bind to the ip address of the host server.

ssh on the host server

If you want to use ssh for remote administration of the root server, you will have to tell the ssh daemon process to only bind to the ip address of the root server.

In /etc/ssh/sshd_config inside the root server put:

ListenAddress host.server.IP.address 

and restart sshd

(x)inetd on the host server

For inetd you can install xinetd

Add to start of /etc/xinetd.conf:

defaults
{
bind = host.server.IP.address 
}
Copyright © 2005 Taiwan Debian Users Group