diff --git a/hosts/othalan/secrets.yaml b/hosts/othalan/secrets.yaml index 5bfe768..6e11458 100644 --- a/hosts/othalan/secrets.yaml +++ b/hosts/othalan/secrets.yaml @@ -1,5 +1,5 @@ restic-othalan: ENC[AES256_GCM,data:HNIya1Rp,iv:8QkDewpXoy+3ahuuaCN/HfbGOgfQQ0Ud5emD7zVPE2s=,tag:bDfumEnt20lun5hnLY+eVA==,type:str] -mullvad-userpass: ENC[AES256_GCM,data:2gwF8GvnBLDogBb+ePNqnw==,iv:luAfk7C41UKZ6H+TidfIUylP9cDt77HHRl7RgfhU3Xk=,tag:LoqZ2iiaxBd97F7PPO5K/Q==,type:str] +mullvad-userpass: ENC[AES256_GCM,data:3s26AccrDptHlJBxHbB+j0M/lw==,iv:Qw0zlI1542rZxoQyIrqEs3G8fYEgmJVTv+DxXwmzBBA=,tag:S3+3RmWC9XFsLfOrvRcQhg==,type:str] mullvad_ca.crt: ENC[AES256_GCM,data:zjju+4NLdFcUN6ff1KbOOGMxYJhlzvn4Zg7FAO4JxytcbLkv0YsmbZK0XLQHfiL1dvgkaZfIjLsFPRVFUQ2XnwNEErlGjO4IQauMetaxnJl7PuG/6xSQPRDsj4XXLMH8I5g7iUVyC3WDiFPUrlpPsNfPmkpz/Iodyc6cPhiAgzmEKrMu+tljf60rP8oRop4DE4mhv03bnq3yWuATkT9KbTkb+n3JyrkgwNmhTBdbYW+xQ/udzUsoMiOw3mtOhY46U/mYCS8TRJau6biFKqs/at/T7D26pXi3z4zV7Am5h1vkdgwz8rLqWMGklBCSyL+DiTvrzy0xYqxCI2Py05y0Q9zDJj+AUNgNXBcDZnFRRb5SZgiSQ4nDObRADRL0MXvz8PDwrtB6poBtOCEn3w8qTK1GDeQcG2qOZfriDg1KgQNw7ZQNopCvR8cRihh6202pywi5x2CnAwGtBNrryKAW0zazyTwvle0xcVnsnBMNlTK18MbOynK+LnW7d1UNkz/0YxoGfVwc4XhDcuJvWRsU6Aob2ZhYgQR1tBZjS5if40VdTYKY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k3iKEQxv773u4y5SoLpdVIEbslTZ1BMky9B489jtanr7LZgcYpPGEu0voDS+TtOvAGz+d8e6VMOP2t/wD9PFjsT75yqYxyzYNOHfXEwMbUQyQf9Ucrwfz6fi01VyaxG2PJ8T19+KPhgP/kU6oTEVu1JN4VnbUF8fiDpMtFEMTZ,iv:2SPtErk/uh5/RTQpdXEZaHEOkzmHPmJ+y2ICPouJXOg=,tag:8KnPW4MLWgoPMsy2ji4tDg==,type:str] sops: kms: [] @@ -25,8 +25,8 @@ sops: Sng0U242THBSZ005MjJ4d0syT2RBNWMK8+a7qrx0l2T5qAqqrRpH0BTAsSlST5/O HXvwlTZ3m/RITWVPfh9rr2tCYKZYA6a+afjVeQYs+FvGlTCuE1LmUA== -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-11-29T04:55:36Z" - mac: ENC[AES256_GCM,data:1gw1iRbSg5iXAAuo1o3Q1bQWfkB4wHs9WfzK2MRKkzBtvZCxbPW4K1r/19mmpjYm45SRw0EH7gj0w5fZX6iAQPkcNR1zXEpM8mt9I0Yrj6Ifhg11nuU5q+mUAvyi/yYc3xDSD1vU+jWcxa33kz500xREHJmGvbBePIoJn4Niljw=,iv:N6LasEb4EgS4ZMNVW29THHA65sBwJ0yoG27rsIkQAgE=,tag:zR8TKReatGctpNhtYUe1mA==,type:str] + lastmodified: "2024-12-17T21:15:47Z" + mac: ENC[AES256_GCM,data:bCmak+PMy6o8XA/GNL2zqK1Allke7Nd+uZxwwLZgldelYMNPfIWtN8ppr87+aP9ObnKDlmuopQ7aRST970NeTod2/24XMVJ4DoPDXCYClc+BPswii/4fkXb3O2Ehh8qz2m0JtnGDN23Hu300ztmmJWJM9CQyHK/EHY/JvGy2xZQ=,iv:9CTFnsMabC70/Z0mgeCLu4xCP5XA2pi5xVrjczSLdPw=,tag:fLqA2F8EpapkmZstrFF3bw==,type:str] pgp: [] unencrypted_suffix: _unencrypted - version: 3.9.1 + version: 3.9.2 diff --git a/modules/vpn/default.nix b/modules/vpn/default.nix index 8935040..8f39371 100644 --- a/modules/vpn/default.nix +++ b/modules/vpn/default.nix @@ -13,9 +13,9 @@ mkOizysModule config "vpn" { ]; services.openvpn.servers = { - mullvad-chi = { + mullvad-us-atl = { config = '' - config ${./mullvad_us_chi.conf} + config ${./mullvad_us_atl.conf} auth-user-pass ${config.sops.secrets.mullvad-userpass.path} ca ${config.sops.secrets."mullvad_ca.crt".path} ''; diff --git a/modules/vpn/mullvad_us_chi.conf b/modules/vpn/mullvad_us_atl.conf similarity index 53% rename from modules/vpn/mullvad_us_chi.conf rename to modules/vpn/mullvad_us_atl.conf index 4b4bd28..b9fada2 100644 --- a/modules/vpn/mullvad_us_chi.conf +++ b/modules/vpn/mullvad_us_atl.conf @@ -13,13 +13,12 @@ rcvbuf 524288 cipher AES-256-GCM tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384 proto udp -#auth-user-pass mullvad_userpass.txt -#ca mullvad_ca.crt +# auth-user-pass mullvad_userpass.txt +# ca mullvad_ca.crt script-security 2 -#up update-resolv-conf -#down update-resolv-conf +# up /etc/openvpn/update-resolv-conf +# down /etc/openvpn/update-resolv-conf fast-io remote-random -remote 68.235.43.34 1195 # us-chi-ovpn-001 -remote 68.235.43.98 1195 # us-chi-ovpn-003 -remote 68.235.43.66 1195 # us-chi-ovpn-002 +remote 45.134.140.156 1301 # us-atl-ovpn-001 +remote 45.134.140.169 1301 # us-atl-ovpn-002