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
|
#### Node1
|
||||||
peers:
|
peers:
|
||||||
- gateway.example.com
|
- gateway.example.com
|
||||||
|
device_type: tun
|
||||||
shared_key: "mysupersecretkey"
|
shared_key: "mysupersecretkey"
|
||||||
ifup: "ifconfig $IFNAME 192.168.254.1/16 mtu 1400"
|
ifup: "ifconfig $IFNAME 192.168.254.1/16 mtu 1400"
|
||||||
|
|
||||||
#### Node2
|
#### Node2
|
||||||
peers:
|
peers:
|
||||||
- gateway.example.com
|
- gateway.example.com
|
||||||
|
device_type: tun
|
||||||
shared_key: "mysupersecretkey"
|
shared_key: "mysupersecretkey"
|
||||||
ifup: "ifconfig $IFNAME 192.168.254.2/16 mtu 1400"
|
ifup: "ifconfig $IFNAME 192.168.254.2/16 mtu 1400"
|
||||||
|
|
||||||
#### Gateway
|
#### Gateway
|
||||||
peers: []
|
peers: []
|
||||||
|
device_type: tun
|
||||||
shared_key: "mysupersecretkey"
|
shared_key: "mysupersecretkey"
|
||||||
ifup: "ifconfig $IFNAME 192.168.254.254/24 mtu 1400; sysctl -w net.ipv4.ip_forward=1"
|
ifup: "ifconfig $IFNAME 192.168.254.254/24 mtu 1400; sysctl -w net.ipv4.ip_forward=1"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue