[vpn-help] Can't ping/ssh remote machines over vpn [ver 2.1.5 on Ubuntu 10.04]

Gaurav gaurav.knangla at gmail.com
Wed Apr 28 09:54:01 CDT 2010


Stefan,

Thanks for replying.

The requested information follows below:

desktop:~$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1f:d0:d2:d2:a4
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21f:d0ff:fed2:d2a4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7026 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6401 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6469445 (6.4 MB)  TX bytes:1176183 (1.1 MB)
          Interrupt:27

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1100 (1.1 KB)  TX bytes:1100 (1.1 KB)

tap0      Link encap:Ethernet  HWaddr f2:47:0e:c8:b6:99
          inet addr:192.168.20.141  Bcast:192.168.20.255  Mask:255.255.255.0
          inet6 addr: fe80::f047:eff:fec8:b699/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1380  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:c0:00:01
          inet addr:192.168.184.1  Bcast:192.168.184.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vmnet8    Link encap:Ethernet  HWaddr 00:50:56:c0:00:08
          inet addr:192.168.111.1  Bcast:192.168.111.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

desktop:~$ /sbin/route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
172.17.48.31    192.168.20.141  255.255.255.255 UGH   0      0        0 tap0
10.8.50.232     192.168.20.141  255.255.255.255 UGH   0      0        0 tap0
172.17.48.3     192.168.20.141  255.255.255.255 UGH   0      0        0 tap0
172.17.48.32    192.168.20.141  255.255.255.255 UGH   0      0        0 tap0
172.17.48.22    192.168.20.141  255.255.255.255 UGH   0      0        0 tap0
10.10.7.0       192.168.20.141  255.255.255.0   UG    0      0        0 tap0
10.10.20.0      192.168.20.141  255.255.255.0   UG    0      0        0 tap0
192.168.20.0    *               255.255.255.0   U     0      0        0 tap0
10.10.2.0       192.168.20.141  255.255.255.0   UG    0      0        0 tap0
10.10.19.0      192.168.20.141  255.255.255.0   UG    0      0        0 tap0
192.168.1.0     *               255.255.255.0   U     1      0        0 eth0
10.155.114.0    192.168.20.141  255.255.255.0   UG    0      0        0 tap0
172.17.20.0     192.168.20.141  255.255.255.0   UG    0      0        0 tap0
10.10.12.0      192.168.20.141  255.255.255.0   UG    0      0        0 tap0
192.168.184.0   *               255.255.255.0   U     0      0        0
vmnet1
192.168.111.0   *               255.255.255.0   U     0      0        0
vmnet8
10.10.10.0      192.168.20.141  255.255.255.0   UG    0      0        0 tap0
10.10.9.0       192.168.20.141  255.255.255.0   UG    0      0        0 tap0
10.10.75.0      192.168.20.141  255.255.255.0   UG    0      0        0 tap0
10.10.96.0      192.168.20.141  255.255.252.0   UG    0      0        0 tap0
172.17.144.0    192.168.20.141  255.255.240.0   UG    0      0        0 tap0
172.17.128.0    192.168.20.141  255.255.240.0   UG    0      0        0 tap0
172.17.0.0      192.168.20.141  255.255.240.0   UG    0      0        0 tap0
172.17.32.0     192.168.20.141  255.255.240.0   UG    0      0        0 tap0
172.25.0.0      192.168.20.141  255.255.0.0     UG    0      0        0 tap0
172.31.0.0      192.168.20.141  255.255.0.0     UG    0      0        0 tap0
172.18.0.0      192.168.20.141  255.255.0.0     UG    0      0        0 tap0
172.16.0.0      192.168.20.141  255.255.0.0     UG    0      0        0 tap0
link-local      *               255.255.0.0     U     1000   0        0 eth0
192.168.0.0     192.168.20.141  255.255.0.0     UG    0      0        0 tap0
10.201.0.0      192.168.20.141  255.255.0.0     UG    0      0        0 tap0
10.202.0.0      192.168.20.141  255.255.0.0     UG    0      0        0 tap0
10.203.0.0      192.168.20.141  255.255.0.0     UG    0      0        0 tap0
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0

desktop:~$ cat file.pcf
[main]
Description=
Host=xxx-xxxxxxx.xxxxxxxxxx.com
AuthType=1
GroupName=xxxxx-xxxxxxx
GroupPwd=
enc_GroupPwd=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
EnableISPConnect=0
ISPConnectType=0
ISPConnect=test
ISPPhonebook=C:\Documents and Settings\All Users\Application
Data\Microsoft\Network\Connections\Pbk\rasphone.pbk
ISPCommand=
Username=xxxxxx.xxxxxx
SaveUserPassword=0
UserPassword=
enc_UserPassword=
NTDomain=
EnableBackup=0
BackupServer=
EnableMSLogon=1
MSLogonType=0
EnableNat=1
TunnelingMode=0
TcpTunnelingPort=10000
CertStore=0
CertName=
CertPath=
CertSubjectName=
CertSerialHash=00000000000000000000000000000000
SendCertChain=0
PeerTimeout=90
EnableLocalLAN=0

Hope it helps; I so don't want to want run a Windows VM just for VPN access.

Cheers,

Gaurav



On Wed, Apr 28, 2010 at 11:51 AM, Stefan Bauer <stefan.bauer at cubewerk.de>wrote:

> Am 28.04.2010 05:37, Gaurav schrieb:
> > 10/04/28 01:22:33 !! : invalid private netmask, defaulting to class c
> > 10/04/28 01:22:33 !! : peer violates RFC, transform number mismatch ( 1
> !=
> > 17 )
> > 10/04/28 01:22:46 !! : peer violates RFC, transform number mismatch ( 1
> !=
> > 17 )
> > 10/04/28 01:22:52 !! : peer violates RFC, transform number mismatch ( 1
> !=
> > 17 )
>
> I've never seen such a error message and i'm right now too lazy to
> look into the sourcecode but how does your network settings look
> like at this ubuntu machine?
>
> please provide output of /sbin/ifconfig as well as output of
> /sbin/route. Furtheremore it would be quite helpful to see your
> client configuration file.
>
> Stefan
> --
> Stefan Bauer -----------------------------------------
> PGP: E80A 50D5 2D46 341C A887 F05D 5C81 5858 DCEF 8C34
> -------- plzk.de - Linux - because it works ----------
> _______________________________________________
> vpn-help mailing list
> vpn-help at lists.shrew.net
> http://lists.shrew.net/mailman/listinfo/vpn-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.shrew.net/pipermail/vpn-help/attachments/20100428/1a86ce19/attachment-0002.html>


More information about the vpn-help mailing list