LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-29-2008, 04:43 AM   #1
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
Cisco VPN and rdesktop


I have come into a problem where i connect to my office via a Cisco VPN Client (on fedora9) using my wireless connection.

Once connected i launch rdesktop and connect to a Windows server. uppon doing so my CAPS lock and Scroll lock lights flash wildly and i have to cold boot my laptop.

This only happens when i am connected to the VPN not when i use rdesktop to local servers.

Also oddly enough if i used VNC to connect to the same windows Server i do not have the same problem


Does anyone have any ideas?
 
Old 05-29-2008, 08:17 AM   #2
calraith
Member
 
Registered: Apr 2008
Location: Gray, TN, USA
Distribution: UbuntuStudio, Linux Mint
Posts: 36

Rep: Reputation: 15
Are you using the Cisco VPN client? I know in the Windows world, there's a per-profile setting to enable transparent tunneling of IPSec over TCP. If you were using Windows, I'd say try toggling that setting. Sorry, I'm not familiar whether the Linux Cisco client has that option. I use vpnc, an open source alternative. It's in the apt repos in Debian and Ubuntu, and I'd guess it's available via yum for those who prefer RPM. *shrug*

If you've never used vpnc, it takes a little work to get set up -- but I like it better than the Cisco client. On Ubuntu, I install the vpnc and resolvconf packages. With resolvconf managing your resolv.conf, you can set a target network in vpnc's config, and your default route is not replaced. This means that, where the Cisco client would normally deny your ability to connect to any network device other than within your target VPN while connected, vpnc will instead allow you to access your LAN, browse the web, and so forth. More on setting the target network in a minute.

You've probably got a PCF file containing connection information that you normally use with the Cisco client to connect to your VPN concentrator. Open that PCF file and look for !enc_GroupPwd. You'll need to decrypt that password.

In /etc/vpnc/default.conf, enter information as follows:
IPSec gateway vpnaddress.domain.com
IPSec ID groupName (copied from !GroupName= in your .PCF file)
IPSec secret decryptedGroupPassword
Target networks 123.456.0.0/16 (or whatever netmask is appropriate for your target VPN)

Anyway, see whether your computer is more stable using vpnc rather than the Cisco client.
 
Old 05-29-2008, 09:23 AM   #3
calraith
Member
 
Registered: Apr 2008
Location: Gray, TN, USA
Distribution: UbuntuStudio, Linux Mint
Posts: 36

Rep: Reputation: 15
You might also run a memtest86+. I had something similar happen on my laptop (similar symptom under different circumstances, though). Turned out to be flaky RAM.
 
Old 05-30-2008, 06:06 AM   #4
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Original Poster
Rep: Reputation: 41
I will try both of your suggestions today. I will post later on what the results were. Thank you both for the feedback!
 
Old 05-30-2008, 06:13 AM   #5
calraith
Member
 
Registered: Apr 2008
Location: Gray, TN, USA
Distribution: UbuntuStudio, Linux Mint
Posts: 36

Rep: Reputation: 15
Both of me says you're welcome.
 
Old 05-30-2008, 07:22 AM   #6
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by calraith View Post
Both of me says you're welcome.
multiple personality's is not an ailment it is a gift...

is resolvconf a package or is it part of the vpnc install?
i took the lazy way out and did the install via yum...
 
Old 05-30-2008, 08:35 AM   #7
calraith
Member
 
Registered: Apr 2008
Location: Gray, TN, USA
Distribution: UbuntuStudio, Linux Mint
Posts: 36

Rep: Reputation: 15
In the Debian-ish world, resolvconf is its own package. It's used by vpnc, but it's not a part of it. I wouldn't know what it's called in the RPM world. Perhaps once you install vpnc, /etc/vpnc/default.conf will have some Fedora-ish comments regarding what makes the "Target networks" directive work?

For what it's worth, you don't need the "Target networks" directive or whatever manages resolv.conf in order to get vpnc to connect. You can leave them unconfigured, and vpnc should work pretty much identically to the Cisco VPN client. I recommend only configuring IPSec gateway, IPSec ID, and IPSec secret for now, and worry about configuring Target networks and whatever it requires later. All this might be a moot point, anyway, if your laptop still chokes and pukes as soon as you try to establish an RDP session.

Last edited by calraith; 05-30-2008 at 08:52 AM.
 
Old 05-30-2008, 10:17 AM   #8
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Original Poster
Rep: Reputation: 41
I ran memcheck86 after a long time waiting i got the results that my memory was ok.

I got the VPNC to run. I was having a problem at first i was getting

binding to 0.0.0.0:500: Permission denied

But i figured out that the Cisco VPN runs as a service. So after killing that i was able to get it to work.
RDP works just fine now. Thank you.
 
Old 05-30-2008, 03:26 PM   #9
calraith
Member
 
Registered: Apr 2008
Location: Gray, TN, USA
Distribution: UbuntuStudio, Linux Mint
Posts: 36

Rep: Reputation: 15
Did you get the Target network thingamajig working? One other nice thing about using vpnc rather than the Cisco client is that vpnc establishes its connections using a tun/tap interface, and doesn't require recompiling a kernel module every time you upgrade your kernel.

I'm glad RDP doesn't freeze your machine anymore.

One other thing you might be interested in is an app called tsclient. It's a GUI frontend for rdesktop and vncviewer. It's pretty pimp. Look for it in yum.

Last edited by calraith; 05-30-2008 at 03:28 PM.
 
Old 05-31-2008, 09:06 AM   #10
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Original Poster
Rep: Reputation: 41
I havent played with the network thing. it seemed to work out of the box allowing me to used the VPN tunnel as well as the local LAN at the same time.

tsclient is the one that i am using. i was blown away when i first saw it as a default app on CentOS 5.1
its just habbit to call it rdesktop...

Thanks again for all of your help
~N
 
Old 07-01-2008, 07:51 PM   #11
sheppard
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by watcher69b View Post
I have come into a problem where i connect to my office via a Cisco VPN Client (on fedora9) using my wireless connection.

Once connected i launch rdesktop and connect to a Windows server. uppon doing so my CAPS lock and Scroll lock lights flash wildly and i have to cold boot my laptop.

This only happens when i am connected to the VPN not when i use rdesktop to local servers.

Also oddly enough if i used VNC to connect to the same windows Server i do not have the same problem


Does anyone have any ideas?
hello!
I am trying to connect remotely from home to my computer in my work network but there is no way to make the Terminal Server Client to connect to my work’s computer. To connect to my work network we use a VPN and a RSA Securid token. I can log in. But after that, when I try to reach the Desktop of my computer using Terminal Server Client, or Rdesktop It says connection refused. I use Ubuntu Hardy at home and Windows XP Pro at work. Any help on that?
 
Old 07-01-2008, 07:52 PM   #12
sheppard
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
hello!
I am trying to connect remotely from home to my computer in my work network but there is no way to make the Terminal Server Client to connect to my work’s computer. To connect to my work network we use a VPN and a RSA Securid token. I can log in. But after that, when I try to reach the Desktop of my computer using Terminal Server Client, or Rdesktop It says connection refused. I use Ubuntu Hardy at home and Windows XP Pro at work. Any help on that?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using rdesktop through a VPN tunnel VideoLinux Linux - Networking 1 07-05-2006 08:41 AM
Cisco VPN andrewm659 Linux - Networking 3 12-23-2004 07:42 AM
Cisco VPN PlatinumRik Linux - Networking 1 08-12-2003 10:43 PM
Cisco VPN Teddy_Horse Linux - Software 0 08-07-2003 05:16 PM
Connect to Cisco VPN w/o Cisco VPN Client gboutwel Linux - Networking 4 02-07-2003 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration