[From nobody Tue Nov 24 12:24:09 2026
Received: (at submit) by bugs.debian.org; 7 Jul 2011 08:13:55 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02
 (2010-03-16) on busoni.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-11.9 required=4.0 tests=BAYES_00, FOURLA, HAS_PACKAGE,
 XMAILER_REPORTBUG autolearn=ham version=3.3.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 17; hammy, 151; neutral, 136; spammy,
 0. spammytokens: hammytokens:0.000-+--H*M:reportbug,
 0.000-+--H*MI:reportbug, 
 0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug, 0.000-+--H*x:4.12.6
Return-path: &lt;hans@streibel.net&gt;
Received: from smtp-2.adminflex.de ([84.38.79.76])
 by busoni.debian.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.72) (envelope-from &lt;hans@streibel.net&gt;) id 1Qejic-00087D-Dj
 for submit@bugs.debian.org; Thu, 07 Jul 2011 08:13:55 +0000
Received: from h1764403.stratoserver.net
 ([85.214.102.135] helo=hstreibel.psi.de ident=hans)
 by smtp-2.adminflex.de with esmtpa (Exim 4.69)
 (envelope-from &lt;hans@streibel.net&gt;)
 id 1QejMJ-0001iY-TQ; Thu, 07 Jul 2011 07:50:51 +0000
Received: by hstreibel.psi.de (Postfix, from userid 1000)
 id 3A560C016; Thu,  7 Jul 2011 09:38:55 +0200 (CEST)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Hans Streibel &lt;hans@streibel.net&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: vpnc: Route to VPN gateway duplicated on wrong interface
Message-ID: &lt;20110707073855.7887.48533.reportbug@hstreibel.psi.de&gt;
X-Mailer: reportbug 4.12.6
Date: Thu, 07 Jul 2011 09:38:55 +0200
X-Greylist: delayed 1377 seconds by postgrey-1.32 at busoni;
 Thu, 07 Jul 2011 08:13:54 UTC
Delivered-To: submit@bugs.debian.org

Package: vpnc
Version: 0.5.3r449-2.1
Severity: normal

I am connected simultaneously to 2 networks:
- eth0
- wlan0

The default route goes via eth0, the VPN gateway 213.23.124.179
is reachable via wlan0. Here is the output of &quot;route -n&quot;:

root@hstreibel:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
213.23.124.179  192.168.1.1     255.255.255.255 UGH   0      0        0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U     2      0        0 wlan0
192.168.168.0   0.0.0.0         255.255.254.0   U     1      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
0.0.0.0         192.168.168.1   0.0.0.0         UG    0      0        0 eth0

Then I connect to the VPN using the NetworkManger.
&quot;NAT Traversal&quot; is set to &quot;Cisco UDP&quot;.
The connection will be established however there are 2 entries
for the VPN host now in the routing table:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
213.23.124.179  192.168.168.1   255.255.255.255 UGH   0      0        0 eth0
213.23.124.179  192.168.1.1     255.255.255.255 UGH   0      0        0 wlan0
192.168.214.128 0.0.0.0         255.255.255.224 U     0      0        0 tun0
192.168.1.0     0.0.0.0         255.255.255.0   U     2      0        0 wlan0
192.168.168.0   0.0.0.0         255.255.254.0   U     1      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 tun0

Nothing within the VPN network is reachable.
Deleting the wrong entry 213.23.124.179/eth0 does not help.


-- System Information:
Debian Release: 6.0.1
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages vpnc depends on:
ii  libc6                        2.11.2-10   Embedded GNU C Library: Shared lib
ii  libgcrypt11                  1.4.6-5     LGPL Crypto library - runtime libr
ii  libgnutls26                  2.10.5-1+b1 the GNU TLS library - runtime libr

Versions of packages vpnc recommends:
ii  iproute                       20100519-3 networking and traffic control too

Versions of packages vpnc suggests:
pn  resolvconf                    &lt;none&gt;     (no description available)

-- Configuration Files:
/etc/vpnc/example.conf [Errno 13] Permission denied: u'/etc/vpnc/example.conf'
/etc/vpnc/vpnc-script [Errno 13] Permission denied: u'/etc/vpnc/vpnc-script'

-- no debconf information


]