summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@mandelbit.com>2026-09-28 16:02:20 +0200
committerAntonio Quartulli <antonio@mandelbit.com>2026-09-29 23:33:24 +0200
commit12d3aa212f35b8cdd9a0ccd849b45beea46ed94d (patch)
tree749a4cf397b026fc2c1b5b5f1183dc2a28de8b0e /python
parent98e4432163032c894ef10b7f14522471c2a54530 (diff)
downloadvyos-1x-12d3aa212f35b8cdd9a0ccd849b45beea46ed94d.tar.gz
vyos-1x-12d3aa212f35b8cdd9a0ccd849b45beea46ed94d.zip
openvpn: T9364: default the MTU to 1420 when DCO is enabled
The ovpn Kernel module does no MSS clamping, so with a 1500 bytes MTU full sized packets get fragmented on the underlay. Add an "mtu" node, rendered as "tun-mtu". With "offload dco" it defaults to 1420, unless a raw tun-mtu/link-mtu/udp-mtu option is present. Reject "mtu" together with such an option, below 100, and below 1280 when IPv6 runs inside the tunnel.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions