OpenVPN has several command line option to configure how to handle the MTU of packets. The plugin accepts a OpenVPN.MTU options which is translated to '--mtu'. This options not available (has it ever existed?) since 2.0. We recommend at least version 2.2 of OpenVPN.
It looks like no one is using this, because if he did, OpenVPN bails out and complains about unknown --mtu option. In this light, let's drop it and add the exising MTU releated options. --- Hi, I couldn't get my VPN working due to MTU missmatch. cheers, daniel vpn/plugins/openvpn.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vpn/plugins/openvpn.c b/vpn/plugins/openvpn.c index 9ee5795..04b7457 100644 --- a/vpn/plugins/openvpn.c +++ b/vpn/plugins/openvpn.c @@ -56,7 +56,12 @@ struct { { "OpenVPN.CACert", "--ca", 1 }, { "OpenVPN.Cert", "--cert", 1 }, { "OpenVPN.Key", "--key", 1 }, - { "OpenVPN.MTU", "--mtu", 1 }, + { "OpenVPN.LinkMTU", "--link-mtu", 1 }, + { "OpenVPN.TunMTU", "--tun-mtu", 1 }, + { "OpenVPN.TunMTUExtra", "--tun-mtu-extra", 1 }, + { "OpenVPN.Fragment", "--fragment", 1 }, + { "OpenVPN.MSSFix", "--mssfix", 1 }, + { "OpenVPN.MTUDisc", "--mtu-disc", 1 }, { "OpenVPN.NSCertType", "--ns-cert-type", 1 }, { "OpenVPN.Proto", "--proto", 1 }, { "OpenVPN.Port", "--port", 1 }, -- 2.4.3 _______________________________________________ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman