All Projects β†’ suda β†’ k8s-ovpn-chart

suda / k8s-ovpn-chart

Licence: other
[DEPRECATED] Helm chart for a private OpenVPN server

Programming Languages

shell
77523 projects
HTML
75241 projects

Projects that are alternatives of or similar to k8s-ovpn-chart

Adblocking Vpn
πŸ”’ Create your own VPN server that blocks malicious domains to enhance your security and privacy
Stars: ✭ 139 (+631.58%)
Mutual labels:  openvpn, vpn, vpn-server
Docker Openvpn
πŸ” Out of the box stateless openvpn-server docker image which starts in less than 2 seconds
Stars: ✭ 174 (+815.79%)
Mutual labels:  openvpn, vpn, vpn-server
Vpngate With Proxy
vpn gate client for linux, be able to connect to open vpn server through proxy
Stars: ✭ 150 (+689.47%)
Mutual labels:  openvpn, vpn, vpn-server
charts
Public helm charts
Stars: ✭ 15 (-21.05%)
Mutual labels:  helm, helm-charts, helm-chart
hull
The incredible HULL - Helm Uniform Layer Library - is a Helm library chart to improve Helm chart based workflows
Stars: ✭ 66 (+247.37%)
Mutual labels:  helm, helm-charts, helm-chart
Pi Hole Pivpn On Google Compute Engine Free Tier With Full Tunnel And Split Tunnel Openvpn Configs
Run your own privacy-first ad blocking service in the cloud for free on Google Cloud Services.
Stars: ✭ 1,141 (+5905.26%)
Mutual labels:  openvpn, vpn, vpn-server
stackstorm-ha
K8s Helm Chart (Ξ²eta!) that codifies StackStorm (aka "IFTTT for Ops" https://stackstorm.com/) Highly Availability fleet as a simple to use reproducible infrastructure-as-code app
Stars: ✭ 74 (+289.47%)
Mutual labels:  helm, helm-charts, helm-chart
Softethervpn
Cross-platform multi-protocol VPN software. Pull requests are welcome. The stable version is available at https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.
Stars: ✭ 8,531 (+44800%)
Mutual labels:  openvpn, vpn, vpn-server
terraform-aws-pritunl-vpn-server
Pritunl VPN Server for your public/private like VPC on AWS
Stars: ✭ 40 (+110.53%)
Mutual labels:  openvpn, vpn, vpn-server
charts
Helm charts for creating reproducible and maintainable deployments of Polyaxon with Kubernetes.
Stars: ✭ 32 (+68.42%)
Mutual labels:  helm, helm-charts, helm-chart
Ovpm
OpenVPN Management Server - Effortless and free OpenVPN server administration
Stars: ✭ 256 (+1247.37%)
Mutual labels:  openvpn, vpn, vpn-server
khelm
A Helm chart templating CLI, kpt function and kustomize plugin
Stars: ✭ 46 (+142.11%)
Mutual labels:  helm, helm-charts, helm-chart
Autovpn
Create On Demand Disposable OpenVPN Endpoints on AWS.
Stars: ✭ 1,959 (+10210.53%)
Mutual labels:  openvpn, vpn, vpn-server
helm-charts
Source & Repo of https://charts.kubesphere.io/main & https://charts.kubesphere.io/test
Stars: ✭ 85 (+347.37%)
Mutual labels:  helm, helm-charts, helm-chart
aks-multi-tenant-agic
This sample shows how to use the Application Gateway Ingress Controller in a multi-tenant AKS cluster to expose multiple instances of the same application, one for each tenant.
Stars: ✭ 27 (+42.11%)
Mutual labels:  helm, helm-charts, helm-chart
helm-charts
docs.renovatebot.com/helm-charts
Stars: ✭ 51 (+168.42%)
Mutual labels:  helm, helm-charts, helm-chart
nordvpn
NordVpn Docker Client
Stars: ✭ 475 (+2400%)
Mutual labels:  openvpn, vpn
AdGuard-WireGuard-Unbound-Cloudflare
The Ultimate Network Security Guide πŸ”’ Protection | πŸ”Ž Privacy | πŸš€ Performance on home network 24/7 πŸ•› Accessible anywhere 🌏
Stars: ✭ 160 (+742.11%)
Mutual labels:  openvpn, vpn
octant-dashboard-turnkey
A turnkey Docker-ready and Kubernetes-ready Octant dashboard config
Stars: ✭ 40 (+110.53%)
Mutual labels:  helm, helm-chart
helm-charts
Helm Charts
Stars: ✭ 24 (+26.32%)
Mutual labels:  helm, helm-charts

⚠️ This chart has been deprecated. Please switch to the new one: https://artifacthub.io/packages/helm/suda/personal-ovpn

Artifact HUB

Private Kubernetes OpenVPN Helm chart

TL;DR: This Chart is intended for deploying a private VPN server without access to other Pods in the cluster. Think of it as roll-your-own Nord/Express VPN in your Kubernetes cluster.

Usage

$ helm repo add k8s-ovpn https://raw.githubusercontent.com/suda/k8s-ovpn-chart/master/charts
$ helm repo update
$ helm install k8s-ovpn/k8s-ovpn-chart

Skip manual steps: Automatic and Insecure way (not for production)

$ helm repo add k8s-ovpn https://raw.githubusercontent.com/suda/k8s-ovpn-chart/master/charts
$ helm repo update
$ helm install k8s-ovpn/k8s-ovpn-chart --set automatic.enabled=true

Generate necessary secrets (manual way & secure CA)

$ git clone https://github.com/suda/k8s-ovpn-chart.git
$ cd k8s-ovpn-chart
$ export VPN_HOSTNAME=vpn.example.com
# Generate basic OpenVPN config
$ ./bin/generate-config
# Repeat this step for all the clients you need
$ CLIENT_NAME=my-client ./bin/add-client
# Set the Kubernetes secrets. Prepend with REPLACE=true to update existing ones
$ ./bin/set-secrets

After generating the secrets above, you'll have all the config, certificates and the keys on your machine, in the ovpn0 directory. You need it to add more clients later but also isn't very secure to keep those keys just laying around on your machine.

Allowing traffic inside of the cluster

If you want to make debugging the cluster easier and use VPN to access the pods, you might prefer using stable/openvpn chart. But if you really want to, you can enable it by setting limitTraficToNamespace value to false.

Configuration

The following table lists the configurable parameters of the k8s-ovpn chart and their default values.

Parameter Description Default
image.repository container image repository kylemanna/openvpn
image.tag container image tag 2.4
image.pullPolicy container image pull policy IfNotPresent
tolerations node taints to tolerate (requires Kubernetes >=1.6) []
affinity node/pod affinities (requires Kubernetes >=1.6) {}
nodeSelector node labels for pod assignment {}
resources pod resource requests & limits {}
limitTraficToNamespace limit network traffic just to OpenVPN namespace true
limitedCidr CIDR to be blocked out 10.0.0.0/8
automatic.cipher Cipher used "AES-256-CBC"
automatic.digestAlgorythm Authenticate packets with HMAC using the given message digest algorithm (auth). "SHA384"
automatic.dnsServer DNS Server IP "8.8.8.8"
automatic.enabled Skip manual steps and generate configuration & pki according to values config, Warning, PKI will be passwordless ! false
automatic.externalHostname Hostname OR Ip of cluster openvpn entrypoint, default to 'domain.tld' so you must define it ""
automatic.externalPort Port cluster openvpn entrypoint, defaults to service.port (nodePort) ""
automatic.extraOptions Additional options for openvpn configuration []
automatic.persistence.accessModes PersistentVolumeClaim access modes ["ReadWriteOnce"]
automatic.persistence.annotations PersistentVolumeClaim annotations {}
automatic.persistence.mountPath PersistentVolumeClaim mounting path "/etc/openvpn"
automatic.persistence.size PersistentVolumeClaim size request "8Gi"

Acknowledgements

This chart is based on chepurko/k8s-ovpn which is using the great kylemanna/docker-openvpn Docker image.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].