Add laptop wireguard configuration
This commit is contained in:
parent
c3cb8e1e8f
commit
b914c1bdcf
18 changed files with 113 additions and 519 deletions
|
|
@ -3,3 +3,27 @@ platform_packages:
|
|||
- powertop
|
||||
|
||||
vpn_ip: '10.0.0.2'
|
||||
vpn_subnet: '24'
|
||||
|
||||
vpn_public_key_path: '/etc/wireguard/keys/public/laptop.pub'
|
||||
vpn_private_key_path: '/etc/wireguard/keys/private/laptop.key'
|
||||
|
||||
vpn_private_key: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
36393066313764386361376662376266623331313765373666616334356362656332653838346330
|
||||
3435643261333262653139636537326164356164373566310a633233623031336437303236636266
|
||||
61616165376631353433353463313532643564343664346335363835306430386364303635343432
|
||||
3864343464666566310a363563613039333465336164323833316436393236666433333163666137
|
||||
33656632343262373463306438333764393031623666393161356539636663346331613539396637
|
||||
3631363333623539636561366436613861363932323966666238
|
||||
|
||||
vpn_peers:
|
||||
- {
|
||||
name: 'zeus',
|
||||
allowd_ips: '10.0.0.1/32',
|
||||
endpoint: '178.85.119.159:51902',
|
||||
public_key: 'CeybSMpJiicXmndIuhe89Bay3z3PEdYNyAwIFsacBEo=',
|
||||
preshared_key_path: '/etc/wireguard/keys/private/preshared-zeus.psk',
|
||||
preshared_key_source_path: 'files/laptop/wireguard/preshared.psk',
|
||||
preshared_key: !vault "$ANSIBLE_VAULT;1.1;AES256\r\n376463366339376639373237363632363836653266353534343331333831646366373430333163383838313835613565646466653139666337626237313737300a333761383466626637336164363235643861643865653536663433373762343637303334613862373663626663616138333964386333373633643431326233370a386664366238633533356235613332373630353731306233623364623239353564313631373061393535336532393439343432373435336538666334666335633737633030386438616566376131646662316464333765636331343262663437"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue