nixy/wireguard: add proton vpn free tier
This commit is contained in:
parent
7a647287bb
commit
390d3a3ddb
1
common/wg_pubkey_proton
Normal file
1
common/wg_pubkey_proton
Normal file
@ -0,0 +1 @@
|
||||
g6DkXWKI/68RsLjROIwCEcyB/ZhyK5Q7OWcz1TtqER0=
|
@ -31,6 +31,10 @@
|
||||
sopsFile = ../common/secrets/wg_preshared.yaml;
|
||||
};
|
||||
|
||||
"wg_privkey_proton" = {
|
||||
sopsFile = ./secrets/wg_privkey_proton.yaml;
|
||||
};
|
||||
|
||||
"borgbase_enc_key" = {
|
||||
sopsFile = ./secrets/borgbase_enc_key.yaml;
|
||||
owner = config.users.users.akill.name;
|
||||
@ -144,6 +148,19 @@
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
proton = {
|
||||
ips = [ "10.2.0.2/32" ];
|
||||
privateKeyFile = config.sops.secrets."wg_privkey_proton".path;
|
||||
peers = [
|
||||
{
|
||||
publicKey = builtins.readFile ../common/wg_pubkey_proton;
|
||||
allowedIPs = [ "10.2.0.0/24" ];
|
||||
endpoint = "109.236.81.166:51820";
|
||||
persistentKeepalive = 25;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
21
nixy/secrets/wg_privkey_proton.yaml
Normal file
21
nixy/secrets/wg_privkey_proton.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
wg_privkey_proton: ENC[AES256_GCM,data:qVVd+1s2T3sKDi03V+eMvgqW8LAVl/yEKwtG2EMn8NhBCN7RvlttC5SeIDM=,iv:/QcrtmMjCzZRulumIz5u9oxyaRt+HUq96ZiP8ecpvAo=,tag:1DCaJqVGfg3sfvKTQnmzZA==,type:str]
|
||||
sops:
|
||||
kms: []
|
||||
gcp_kms: []
|
||||
azure_kv: []
|
||||
hc_vault: []
|
||||
age:
|
||||
- recipient: age1geqqmsnng2e9sja6uxxmtlwlm4c6e5v6ch3l3yjenstq6tjq4fusr0305s
|
||||
enc: |
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAxdXZpL1lrOEYyYVdFTzNJ
|
||||
SHhXRVc5Y0o4ZzN2THRjM215UWczVjZOTXg4CjBJZ2VxN0t0ZFgzTmJMeXo5SWZk
|
||||
UjRlNmdRTVVPbHVEeXM3TWhoS0pSUTQKLS0tIEtkTURBc1A3d2lTalhmeEoxUkZj
|
||||
K3BHZnUzN3ZrL1dFQk8rWFpZR05pbFUKObrnIpY3NR1o3/lKhTfVpQU+eQRTi7wF
|
||||
SAjGZ5BRdCi5x1VWRxiT1Fvjqkm7kBEQFvdSvbqW2UK6lVHtWgt2Vg==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
lastmodified: "2024-05-05T21:10:36Z"
|
||||
mac: ENC[AES256_GCM,data:uqZkMFXU1u38jWh0sAaiCmqUqXLNy2FnVBK2YiMpJ8qsWCp0iyDpZ6Jsx3S15Pk7O2km8ZdbInjyo5xS85VKV+E3syJ+ERKAVLRiiioEKc6/GRG/23Qiv+hg8fbgipsuKeTsmiz7bizqqIruX/bP0zhdMRfC/d7Q11t4UBSLeZ8=,iv:UtsPL1loFXGNpteUujEagQuQ3lWwqFbvCbCVGTwQhaY=,tag:lqlrpOuAg8xb0msF1Gb0Kg==,type:str]
|
||||
pgp: []
|
||||
unencrypted_suffix: _unencrypted
|
||||
version: 3.8.1
|
Loading…
Reference in New Issue
Block a user