
jonathan.w.miner at baesystems
Sep 25, 2009, 11:39 AM
Post #1 of 1
(263 views)
Permalink
|
|
MTU detection in vpnc-script
|
|
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 _______________________________________________ vpnc-devel mailing list vpnc-devel[at]unix-ag.uni-kl.de https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel http://www.unix-ag.uni-kl.de/~massar/vpnc/
|