htz-cloud.wireguard: wg for oneplus7

This commit is contained in:
Franzi 2023-12-05 07:21:38 +01:00
parent 81bb8653d8
commit 4e50bfe1a2
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -34,6 +34,7 @@ nodes['htz-cloud.wireguard'] = {
'bird': {
'static_routes': {
'172.19.137.0/24',
'172.19.136.62/31',
'172.19.136.64/31',
},
},
@ -47,6 +48,7 @@ nodes['htz-cloud.wireguard'] = {
'input': {
'50-wireguard': [
'udp dport 1194 accept',
'udp dport 51800 accept',
],
},
'postrouting': {
@ -62,6 +64,15 @@ nodes['htz-cloud.wireguard'] = {
'wireguard': {
'snat_ip': '172.19.137.2',
'peers': {
'kunsi-oneplus7': {
'endpoint': None,
'exclude_from_monitoring': True,
'my_ip': '172.19.136.62',
'my_port': 51800,
'their_ip': '172.19.136.63',
'psk': vault.decrypt('encrypt$gAAAAABlbr26kyQ_DNIObVNtG31e1uSZkfDKH9Y1tzq8ZNSAMeuEh30cMJBZQskLLYqt5HUGd-YFwYQB_E7oa-WWbHmDh4vAxJ22Efr85tA0TWsgkc2KvKHqZrNo-GCXhxCqs7SqhW1C'),
'pubkey': vault.decrypt('encrypt$gAAAAABlbr27doNVsPXF7hMpAp93fP-h_jlW10zycZAHy05r4R7rOZrLqf5b-lhdamx_kQxypYtcW-jOCYgcqWNsId7RluEmFo3drFuUYKIa32YU_U0Pe5EjVRFz_tuf9NRPPugmHb22'),
},
'kunsi-p14s': {
'endpoint': None,
'exclude_from_monitoring': True,