🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #777

Re: Help: vpnc from VirtualBox Linux guest

#777
From: Zebee Johnstone
Date: Sat, 21 Mar 2009 20:02
29 lines
2132 bytes
In aus.computers.linux on Sat, 21 Mar 2009 06:36:11 GMT
James C <enough.already@no.more.spam.please> wrote:
>
> I copied my working vpnc config file to Ubuntu 8.10 running in a 
> VirtualBox guest with NAT networking, running VirtualBox 2.1.4 on a 
> Windows Vista Ultimate host.  I can start vpnc on Ubuntu either from the 
> command line or through Network Manager.  The vpnc process on Ubuntu 
> connects, but then ssh connections from Ubuntu timeout trying to connect 
> to servers on the VPN ("ssh -v" just says eventually "connection timed 
> out").
>

In these sorts of situations, I haul out the packet sniffer.

So fire up wireshark on your guest, and on the host it is running on.

If you have access to the host you are ssh'ing to, run it on that too.

Try to connect and examine the packet flow.

Follow the packets out, follow the responses back.  It is probable
that somehow response packets are not coming back, perhaps something
to do with the routing on the host.

Even though your working setup isn't quite the same thing, run the
sniffer on that first so you have some idea of what it should look
like.

Zebee
Technical Details
Message-ID: <slrngsahua.da7.zebeej@gmail.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!news.netcologne.de!newsfeed-fusi2.netcologne.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <vV%wl.30012$cu.21923@news-server.bigpond.net.au>

Show Full Headers
Complete Article Headers
X-Google-Thread: 102983,c00c8b439193ca17
X-Google-Attributes: gid102983,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!news.netcologne.de!newsfeed-fusi2.netcologne.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Zebee Johnstone <zebeej@gmail.com>
Newsgroups: aus.computers.linux
Subject: Re: Help: vpnc from VirtualBox Linux guest
Date: 21 Mar 2009 20:02:18 GMT
Lines: 29
Message-ID: <slrngsahua.da7.zebeej@gmail.com>
References: <vV%wl.30012$cu.21923@news-server.bigpond.net.au>
Reply-To: zebeej@gmail.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: individual.net G6UrdaSwESRBiCr/rhI7IQQL540GonAtI1ISjl7djTLoJi6VOC
Cancel-Lock: sha1:Bmv6Mbp3YConUrtBB1M++c7V+QU=
User-Agent: slrn/0.9.8.1pl2 (Linux)