On my macOS 10.15 I have to use the Cisco AnyConnect Secure Mobility Client 4.8 to connect to the VPN of my university.
The connection is much slower than usual, probably because the MTU of 1300 is set too low.
Using the command ifconfig
, i get this information about the connection:
utun2: flags=80d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1300
inet ###.###.##.## --> ###.###.##.## netmask 0xfffffe00
inet6 ###::####:###:###:###%utun2 prefixlen 64 scopeid 0x10
inet6 ###:####:#:#::### prefixlen 128
nd6 options=201<PERFORMNUD,DAD>
(IP addresses have been anynomized with #)
How can I change this? I found nothing in the settings of the Cisco Client, not even in the configuration files.
A change in the system settings is of no use, via the terminal I tried the following:
sudo ifconfig utun2 mtu 1470
The correct value is then displayed using the ifconfig
command, but the connection itself does not change (neither the speed, nor the MTU value displayed here https://www.speedguide.net/analyzer.php). After reconnecting, the MTU is again registered at 1300.
How can I change the MTU effectively and permanently?