Fix gluetun MTU for k3s Flannel network
eth0 MTU in pods is 1450 (Flannel VXLAN). gluetun's MTU discovery was setting tun0 to 1440, making WireGuard outer packets ~1500 bytes which exceeds the 1450 limit. TLS ClientHello gets dropped, causing startup check to fail and loop. Fix: set MTU=1320 so WireGuard UDP packets stay well under 1450.
This commit is contained in:
@@ -112,6 +112,8 @@ spec:
|
|||||||
value: "10.43.0.10:53"
|
value: "10.43.0.10:53"
|
||||||
- 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: MTU
|
||||||
|
value: "1320"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: gluetun-data
|
- name: gluetun-data
|
||||||
mountPath: /tmp/gluetun
|
mountPath: /tmp/gluetun
|
||||||
@@ -360,6 +362,8 @@ spec:
|
|||||||
value: "10.43.0.10:53"
|
value: "10.43.0.10:53"
|
||||||
- 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: MTU
|
||||||
|
value: "1320"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: gluetun-data
|
- name: gluetun-data
|
||||||
mountPath: /tmp/gluetun
|
mountPath: /tmp/gluetun
|
||||||
|
|||||||
Reference in New Issue
Block a user