Merge feature/vpn-mtu-tune into main
This commit is contained in:
1 file changed
+6
-2
@@ -66,9 +66,13 @@ spec:
|
|||||||
# DATA-channel packets fit (the handshake is small so this wasn't the connect blocker, but the
|
# DATA-channel packets fit (the handshake is small so this wasn't the connect blocker, but the
|
||||||
# data channel needs it). Hardcoded strings (int-coercion gotcha). See DECISIONS-LOG.
|
# data channel needs it). Hardcoded strings (int-coercion gotcha). See DECISIONS-LOG.
|
||||||
- name: OPENVPN_MTU
|
- name: OPENVPN_MTU
|
||||||
value: "1350"
|
value: "1300" # tun-mtu: extra margin under the 1450 pod MTU (data channel)
|
||||||
- name: OPENVPN_MSSFIX
|
- name: OPENVPN_MSSFIX
|
||||||
value: "1350"
|
value: "1300" # clamp TCP-in-tunnel to match
|
||||||
|
- name: OPENVPN_FLAGS
|
||||||
|
value: "--tls-mtu 1200 --hand-window 120" # shrink the CONTROL-channel packets (RSA-4096 strong
|
||||||
|
# preset handshake) so they fit reliably under 1450, and give the
|
||||||
|
# handshake longer than the default 60s to complete over a lossy path.
|
||||||
# PIA credentials from the SOPS secret (Gluetun's PIA OpenVPN creds env):
|
# PIA credentials from the SOPS secret (Gluetun's PIA OpenVPN creds env):
|
||||||
- name: OPENVPN_USER
|
- name: OPENVPN_USER
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|||||||
Reference in new issue
Block a user