[vpnc-devel] MTU detection in vpnc-script
Miner, Jonathan W (US SSA)
jonathan.w.miner at baesystems.com
Fri Sep 25 20:39:07 CEST 2009
Just started using vpnc recently....
I have also run across the MTU detection issues, and found the following bug report on the Debian site:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525389
I patched my vpnc-script by removing the DEV line, and changing the MTU line to be:
MTU=$(($($IPROUTE route get "$VPNGATEWAY" | sed -ne 's/^.*mtu \([[:digit:]]\+\).*$/\1/p') - 88))
Seems happy now, even when I don't have a default route!
- Jon
More information about the vpnc-devel
mailing list