mirror of https://github.com/dswd/vpncloud.git
Updated Dial in Tutorial (markdown)
parent
8f7e216c1e
commit
2dc7f940d1
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue