Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Mar 19, 2012 12:33 pm 
Offline
Newbie

Joined: Mon Mar 19, 2012 12:18 pm
Posts: 2
Location: United States
I am trying to install the cisco vpn client via message #21 #27 in

http://ubuntuforums.org/showthread.php?t=298181&page=3

I have Ubuntu 11.10 64bit

uname -r
3.0.18-x86_64-linode24

uname -a
Linux li155-96 3.0.18-x86_64-linode24 #1 SMP Mon Jan 30 14:25:46 EST 2012 x86_64 x86_64 x86_64 GNU/Linux

where can I get the proper source code?


Top
   
 Post subject:
PostPosted: Mon Mar 19, 2012 4:20 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Did you try the vpnc package first? Reports seem to indicate it doesn't work for everyone, but if it does, it seems far simpler.

Linode builds against the mainline kernel source, and the config of the build can be found on your linode in /proc/config.gz


Top
   
 Post subject:
PostPosted: Mon Mar 19, 2012 8:18 pm 
Offline
Newbie

Joined: Mon Mar 19, 2012 12:18 pm
Posts: 2
Location: United States
I didn't know about vpnc.

I ended up doing a very heavy weight solution that worked (but stayed tuned for the big "DUH!" moment at the end):

# on linode
apt-get install ubuntu-desktop vnc4server
vnc4server -geometry 1680x1050 -depth 16

# on local machine
ssh -Cg -L5901:localhost:5901 <user>@<my-linode-address>
# then vncviewer localhost:1

# on linode in xterm window
nohup gnome-session &
# then startup firefox and go to company's password protected vpn http site
# click "start anyconnect client"
# did not automatically install
# clicked on download / save file

# then logout of original ssh -Cg ... window (kills vnc server)
# relogin as root
ssh root@<my-linode-address>
./vpnsetup.sh
# then run vpn client
/opt/cisco/vpn/bin/vpn
connect myaccess.oraclevpn.com

-------------------------

It looked like it connected, but it terminated my ssh connection and I
could not ssh back into the machine.

DUH! Because the network is VPNed now!

I had to log into my linode dashboard and shutdown/boot my node.

Is there a way to VPN out of a machine without killing my ssh connection to the machine?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group