summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-09-11 15:09:27 -0700
committerelijah <elijah@riseup.net>2013-09-11 15:09:27 -0700
commita3cc8db1d8df7dc04fa1474e0863b5fafd1059bc (patch)
tree867fbd58a195699f91cc8dfa43bac25b3c6b4e62 /docs
parentb9576f808f47c8af8d13c4af73467fc710458f3c (diff)
clean up examples.md formatting
Diffstat (limited to 'docs')
-rw-r--r--docs/platform/examples.md13
1 files changed, 6 insertions, 7 deletions
diff --git a/docs/platform/examples.md b/docs/platform/examples.md
index f63d823..b2afcb0 100644
--- a/docs/platform/examples.md
+++ b/docs/platform/examples.md
@@ -11,8 +11,7 @@ We are going to create a minimal LEAP provider offering OpenVPN service. This ba
Our goal is something like this:
-> leap list
-
+ leap list
NODES SERVICES TAGS
clam couchdb
elephant webapp
@@ -35,7 +34,8 @@ Add some nodes:
leap node add clam ip_address:176.53.69.22 services:couchdb
leap node add elephant ip_address:176.53.69.13 services:webapp
- leap node add snail ip_address:176.53.69.14 openvpn.gateway_address:176.53.69.15 services:openvpn
+ leap node add snail ip_address:176.53.69.14 \
+ openvpn.gateway_address:176.53.69.15 services:openvpn
NOTE: openvpn gateways must be assigned two IP addresses, one for the host itself and one for the openvpn gateway. We do this to prevent incoming and outgoing VPN traffic on the same IP. Without this, the client might send some traffic to other VPN users in the clear, bypassing the VPN.
@@ -43,15 +43,14 @@ Now that you have the nodes configured, you should create the DNS entries for th
Set up your DNS with these hostnames:
-> leap list --print ip_address,domain.full,dns.aliases
-
+ leap list --print ip_address,domain.full,dns.aliases
clam 176.53.69.22, clam.bitmask.net, null
- elephant 176.53.69.13, elephant.bitmask.net, api.bitmask.net, nicknym.bitmask.net
+ elephant 176.53.69.13, elephant.bitmask.net, api.bitmask.net
snail 176.53.69.14, snail.bitmask.net, null
Alternately, you can adapt this zone file snippet:
-> leap compile zone
+ leap compile zone
Create certificates
------------------------------------