bojanrajkovic / home.coderinserepeat.com

Homelab configuration.
0 stars 0 forks source link

kubernetes: deploy gluetun #28

Closed bojanrajkovic closed 5 months ago

bojanrajkovic commented 5 months ago
virtualisation.oci-containers.containers.gluetun = {
      image = "docker.io/qmcgaw/gluetun";
      environment = {
        VPN_SERVICE_PROVIDER = "airvpn";
        VPN_TYPE = "wireguard";
        WIREGUARD_PRIVATE_KEY = "iEyGZCQsydNx2Bzek+OxcaDgcjSc+FKB+jl2yy+bzV0=";
        WIREGUARD_PRESHARED_KEY = "Yqcg/G5BJPBMtAdxJ4gHjoEjcpHqLxNw8+DpAhPyG6E=";
        WIREGUARD_ADDRESSES = "10.170.171.249/32";
        SERVER_COUNTRIES = "Canada";
        FIREWALL_VPN_INPUT_PORTS = "20911,35541";
      };
      extraOptions = [
        "--cap-add=NET_ADMIN"
      ];
      autoStart = true;
    };
bojanrajkovic commented 5 months ago

Can't actually deploy a standalone gluetun, deploy sidecars -- see transmission example.