mirror of https://github.com/dswd/vpncloud.git
Created Naming Hosts (markdown)
parent
0782d408ab
commit
acb4a2f183
|
@ -0,0 +1,13 @@
|
||||||
|
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`.
|
Loading…
Reference in New Issue