Updated Dial in Tutorial (markdown)

dswd 2016-08-12 10:53:08 +02:00
parent 8f7e216c1e
commit 2dc7f940d1
1 changed files with 3 additions and 0 deletions

@ -39,17 +39,20 @@ Here are the full configuration files for the nodes:
#### Node1
peers:
- gateway.example.com
device_type: tun
shared_key: "mysupersecretkey"
ifup: "ifconfig $IFNAME 192.168.254.1/16 mtu 1400"
#### Node2
peers:
- gateway.example.com
device_type: tun
shared_key: "mysupersecretkey"
ifup: "ifconfig $IFNAME 192.168.254.2/16 mtu 1400"
#### Gateway
peers: []
device_type: tun
shared_key: "mysupersecretkey"
ifup: "ifconfig $IFNAME 192.168.254.254/24 mtu 1400; sysctl -w net.ipv4.ip_forward=1"