In some circumstances (with VPNGATEWAY being inside of INTERNAL_IP4_ADDRESS/INTERNAL_IP4_NETMASK, for example when the netmask was set incorrectly) the hostroute to the VPNGATEWAY pointed to the tunnel device, creating a routing recursion. Set the host route before configuring the tun interface to fix this. Signed-off-by: Bernhard Schmidt --- vpnc-script | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vpnc-script b/vpnc-script index 7c31067..2c0f87b 100755 --- a/vpnc-script +++ b/vpnc-script @@ -520,8 +520,8 @@ do_connect() { echo fi - do_ifconfig set_vpngateway_route + do_ifconfig if [ -n "$CISCO_SPLIT_INC" ]; then i=0 while [ $i -lt $CISCO_SPLIT_INC ] ; do -- 1.6.5