Fix gluetun endpoint env var: use WIREGUARD_ENDPOINT_IP, drop port
gluetun rejects VPN_ENDPOINT_PORT when SERVER_NAMES is used (server selection mode), and warns that VPN_ENDPOINT_IP is deprecated in favour of WIREGUARD_ENDPOINT_IP. Use only WIREGUARD_ENDPOINT_IP; port 51820 is ProtonVPN's default and doesn't need to be set.
This commit is contained in:
@@ -29,13 +29,8 @@ patches:
|
|||||||
- op: add
|
- op: add
|
||||||
path: /spec/template/spec/containers/0/env/-
|
path: /spec/template/spec/containers/0/env/-
|
||||||
value:
|
value:
|
||||||
name: VPN_ENDPOINT_IP
|
name: WIREGUARD_ENDPOINT_IP
|
||||||
value: "95.173.217.29"
|
value: "95.173.217.29"
|
||||||
- op: add
|
|
||||||
path: /spec/template/spec/containers/0/env/-
|
|
||||||
value:
|
|
||||||
name: VPN_ENDPOINT_PORT
|
|
||||||
value: "51820"
|
|
||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/template/spec/containers/1/env/1/value
|
path: /spec/template/spec/containers/1/env/1/value
|
||||||
value: tx253
|
value: tx253
|
||||||
|
|||||||
@@ -29,13 +29,8 @@ patches:
|
|||||||
- op: add
|
- op: add
|
||||||
path: /spec/template/spec/containers/0/env/-
|
path: /spec/template/spec/containers/0/env/-
|
||||||
value:
|
value:
|
||||||
name: VPN_ENDPOINT_IP
|
name: WIREGUARD_ENDPOINT_IP
|
||||||
value: "146.70.58.130"
|
value: "146.70.58.130"
|
||||||
- op: add
|
|
||||||
path: /spec/template/spec/containers/0/env/-
|
|
||||||
value:
|
|
||||||
name: VPN_ENDPOINT_PORT
|
|
||||||
value: "51820"
|
|
||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/template/spec/containers/1/env/1/value
|
path: /spec/template/spec/containers/1/env/1/value
|
||||||
value: tx34
|
value: tx34
|
||||||
|
|||||||
@@ -106,10 +106,8 @@ spec:
|
|||||||
value: "on"
|
value: "on"
|
||||||
- name: FIREWALL_OUTBOUND_SUBNETS
|
- name: FIREWALL_OUTBOUND_SUBNETS
|
||||||
value: "10.42.0.0/16,10.43.0.0/16"
|
value: "10.42.0.0/16,10.43.0.0/16"
|
||||||
- name: VPN_ENDPOINT_IP
|
- name: WIREGUARD_ENDPOINT_IP
|
||||||
value: "95.173.217.29"
|
value: "95.173.217.29"
|
||||||
- name: VPN_ENDPOINT_PORT
|
|
||||||
value: "51820"
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: gluetun-data
|
- name: gluetun-data
|
||||||
mountPath: /tmp/gluetun
|
mountPath: /tmp/gluetun
|
||||||
@@ -316,10 +314,8 @@ spec:
|
|||||||
value: "on"
|
value: "on"
|
||||||
- name: FIREWALL_OUTBOUND_SUBNETS
|
- name: FIREWALL_OUTBOUND_SUBNETS
|
||||||
value: "10.42.0.0/16,10.43.0.0/16"
|
value: "10.42.0.0/16,10.43.0.0/16"
|
||||||
- name: VPN_ENDPOINT_IP
|
- name: WIREGUARD_ENDPOINT_IP
|
||||||
value: "146.70.58.130"
|
value: "146.70.58.130"
|
||||||
- name: VPN_ENDPOINT_PORT
|
|
||||||
value: "51820"
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: gluetun-data
|
- name: gluetun-data
|
||||||
mountPath: /tmp/gluetun
|
mountPath: /tmp/gluetun
|
||||||
|
|||||||
Reference in New Issue
Block a user