mirror of
https://github.com/pirate/wireguard-docs.git
synced 2025-10-03 14:26:18 +00:00
add full example wip
This commit is contained in:
1
full-example/phone/phone.key
Normal file
1
full-example/phone/phone.key
Normal file
@@ -0,0 +1 @@
|
||||
WH98AvjKKZ584ZLb69G912bNry2wOda9+kfzm+qbnUw=
|
1
full-example/phone/phone.key.pub
Normal file
1
full-example/phone/phone.key.pub
Normal file
@@ -0,0 +1 @@
|
||||
VpjKa2MQKXuvttXRwJIe0LLYrtFYGQRTtmt8okUGm3A=
|
4
full-example/phone/setup.sh
Normal file
4
full-example/phone/setup.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# install wireguard on iOS/Android
|
||||
echo "Use the iOS App Store / Google Play Store to install WireGuard on your mobile device"
|
3
full-example/phone/start.sh
Normal file
3
full-example/phone/start.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Use the iOS/Android app to load the wg0.conf file and start Wireguard"
|
3
full-example/phone/stop.sh
Normal file
3
full-example/phone/stop.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Use the iOS/Android app to load the wg0.conf file and stop Wireguard"
|
13
full-example/phone/wg0.conf
Normal file
13
full-example/phone/wg0.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
[Interface]
|
||||
# Name = phone.example-vpn.dev
|
||||
Address = 10.0.0.5/32
|
||||
PrivateKey = <private key for phone.example-vpn.dev>
|
||||
DNS = 1.1.1.1
|
||||
|
||||
[Peer]
|
||||
# Name = public-server1.example-vpn.tld
|
||||
Endpoint = public-server1.example-vpn.tld:51820
|
||||
PublicKey = <public key for public-server1.example-vpn.tld>
|
||||
# routes traffic to itself and entire subnet of peers as bounce server
|
||||
AllowedIPs = 10.0.0.1/24
|
||||
PersistentKeepalive = 25
|
Reference in New Issue
Block a user