Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ojford/terraform-mullvad-systemd-wireguard
Terraform configuration for a Mullvad WireGuard VPN client in systemd
https://github.com/ojford/terraform-mullvad-systemd-wireguard
mullvad systemd systemd-networkd terraform terraform-module vpn vpn-client wireguard
Last synced: about 2 months ago
JSON representation
Terraform configuration for a Mullvad WireGuard VPN client in systemd
- Host: GitHub
- URL: https://github.com/ojford/terraform-mullvad-systemd-wireguard
- Owner: OJFord
- License: mpl-2.0
- Created: 2022-05-20T00:28:42.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-20T00:43:38.000Z (over 2 years ago)
- Last Synced: 2024-10-28T21:10:16.200Z (3 months ago)
- Topics: mullvad, systemd, systemd-networkd, terraform, terraform-module, vpn, vpn-client, wireguard
- Language: HCL
- Homepage: https://registry.terraform.io/modules/OJFord/systemd-wireguard/mullvad/latest
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
`terraform-mullvad-systemd-wireguard` is a Terraform module that allows simple setup of a WireGuard client using Mullvad VPN, via systemd.
# Quickstart
The only required options are a Mullvad account number, and a city name; the latter because it's probably always desirable for at least one reason:
* proximity - low latency connection to your nearest city with Mullvad servers;
* geo-location - for streaming Linux distro ISOs unavailable in your region, or what have you;
* anti-geo-block - not desirable to be arbitrarily blocked from services in your own region because you happened to connect to a server outside it.That requirement can be removed if there's a use-case and sensible alternative to adding _all_ Mullvad peers. (Perhaps the entire filter should be exposed.)
```hcl
module "mullvad" {
source = "OJFord/systemd-wireguard/mullvad"
version = "0.1.0"mullvad_account = "0123 4567 8901 2345"
city = "London"
}
```The `module.mullvad.files` output then provides key-value pairs of filenames & contents necessary for the configuration.