Initial commit
Basic working code that is capable of establishing the Wireguard tunnel given that there is properly configured `.psk` file for at least one known wifi network (see README.md for more details)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
[Interface]
|
||||
ListenPort = <%= $wg_port %>
|
||||
PrivateKey = <%= $(cat src/wireguard.private.key) %>
|
||||
Address = <%= $wg0_address %>
|
||||
DNS = <%= $wg0_gateway %>
|
||||
MTU = 1280
|
||||
|
||||
[Peer]
|
||||
PublicKey = <%= $(cat src/wireguard.public.key) %>
|
||||
Endpoint = <%= $wg_server %>:<%= $wg_port %>
|
||||
AllowedIPs = 0.0.0.0/0
|
||||
PersistentKeepalive = 25
|
||||
Reference in New Issue
Block a user