Naming Hosts
To make using a VPN easier, nodes can be named so that their name can be used instead of their address.
This can be done by editing /etc/hosts
:
$> sudo nano /etc/hosts
For each node a line with
IP-ADDRESS NAME
needs to be added (e.g. 10.0.0.1 node1.vpn
).
It is a good idea to add a common suffix to all nodes of one vpn like .vpn
.