htz-cloud.wireguard: wg for oneplus7
This commit is contained in:
parent
81bb8653d8
commit
4e50bfe1a2
1 changed files with 11 additions and 0 deletions
|
@ -34,6 +34,7 @@ nodes['htz-cloud.wireguard'] = {
|
||||||
'bird': {
|
'bird': {
|
||||||
'static_routes': {
|
'static_routes': {
|
||||||
'172.19.137.0/24',
|
'172.19.137.0/24',
|
||||||
|
'172.19.136.62/31',
|
||||||
'172.19.136.64/31',
|
'172.19.136.64/31',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -47,6 +48,7 @@ nodes['htz-cloud.wireguard'] = {
|
||||||
'input': {
|
'input': {
|
||||||
'50-wireguard': [
|
'50-wireguard': [
|
||||||
'udp dport 1194 accept',
|
'udp dport 1194 accept',
|
||||||
|
'udp dport 51800 accept',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'postrouting': {
|
'postrouting': {
|
||||||
|
@ -62,6 +64,15 @@ nodes['htz-cloud.wireguard'] = {
|
||||||
'wireguard': {
|
'wireguard': {
|
||||||
'snat_ip': '172.19.137.2',
|
'snat_ip': '172.19.137.2',
|
||||||
'peers': {
|
'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': {
|
'kunsi-p14s': {
|
||||||
'endpoint': None,
|
'endpoint': None,
|
||||||
'exclude_from_monitoring': True,
|
'exclude_from_monitoring': True,
|
||||||
|
|
Loading…
Reference in a new issue