LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2012, 06:51 PM   #1
fachhoch@gmail.com
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 1
connecting to windows using rdp through vpn


I want to conect to my remote windows machine from ubuntu. I used to connect from windows before, now trying to connect using ubuntu.

I installed cisco vpnc and vpn connection is sucessful
To connect to my work machine I am using Remmina - Remote Desktop Client.
Unable to connec.

when I type ifconfig I see



Code:
eth0      Link encap:Ethernet  HWaddr 00:24:be:b3:5d:f8  
          inet addr:192.168.2.4  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::224:beff:feb3:5df8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:78 errors:0 dropped:0 overruns:0 frame:0
          TX packets:127 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:23436 (23.4 KB)  TX bytes:17706 (17.7 KB)
          Interrupt:18 

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:68 errors:0 dropped:0 overruns:0 frame:0
          TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:6861 (6.8 KB)  TX bytes:6861 (6.8 KB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.10.102.236  P-t-P:10.10.102.236  Mask:255.255.255.0
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1412  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)
the last tun0 is becasue of my vpn.If I disconnect vpn I dont see the tun0.


my remote windows machine ipaddress 10.20........

when I ping to my remote machine ipaddress there is no response.
in windows after vpn connection I get a response.
why in ubunut there is no reponse.

in windows rpd client there is no entry for domain in ubunut remote
client I have a field for domain should I enter anything there ?

in windows to connect to my remote machine I just need the ipaddress and once connected credentials, is it different in ubunut ?
Please advice.
 
Old 11-20-2012, 06:32 AM   #2
shayno90
Member
 
Registered: Oct 2009
Distribution: Windows10 Linux Mint NST Kali CentOS
Posts: 203
Blog Entries: 3

Rep: Reputation: 24
Install KRDC from USC or the terminal, much better RDP client than Remmina and TSC.

Make sure if you have a firewall running that there is a rule in place to allow an outside connection to
connect to the remote windows machine (plus the port 3389 is allowed).

So try KRDC, enter the login details after you hit the connect button and see if it works.
 
1 members found this post helpful.
Old 11-20-2012, 06:46 AM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by fachhoch@gmail.com View Post
...
when I ping to my remote machine ipaddress there is no response.
...
Which IP-adress has the remote machine? are you sure that it is the same subnet? or at least that the router knows how to get there?

And are you sure that icmp is allowed in your VPN? because if not, ping will not work anyway.

Markus
 
1 members found this post helpful.
Old 11-20-2012, 09:02 AM   #4
fachhoch@gmail.com
Member
 
Registered: Apr 2010
Posts: 82

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by markush View Post
Which IP-adress has the remote machine? are you sure that it is the same subnet? or at least that the router knows how to get there?

And are you sure that icmp is allowed in your VPN? because if not, ping will not work anyway.

Markus
I also have windows machine at home with cisco vpn installed and I do vpn from my home windows to work windows so no problem with my remote computer .
as per the ubuntu do I have open some port as mentioned in previous post?
 
1 members found this post helpful.
Old 11-20-2012, 09:31 AM   #5
tekhead2
Member
 
Registered: Apr 2004
Distribution: slackware/FreeBSD/Vector
Posts: 291

Rep: Reputation: 52
I have to say something I freaking love remmina! Its the only client that I know of that integrates Freenx/Nomachine as well as RDP and SSH , its a gem! I've never had any issues with it.

Having said that, what version of VPNC are you using? Are you issuing the command directly from the console as root? Are you using the network manager vpnc plugin? Do you have a default.conf in /etc/vpnc? The issue is most likely the settings you have configured for your vpnc on the ubuntu machine. Personally I've had issues using the network manager plugin and have relied on the good old fashioned command line and just ran sudo vpnc. You have to make sure you have a default.conf in the /etc/vpnc directory, or you can supply the vpnc conf via a command flag when you run vpnc. Are you using certificates or PSK? It's possible that your client maybe in a different security group from the cisco router if its not a recognized client. I believe if your using a Cisco ASA series you can create dynamic security groups based on the client that associates. Also if you installed the cisco version of VPNC its very very old and it really is bad.. I would just use the vpnc version thats in the repo, its much more updated. The last time I checked the build date on the vpnc client from cisco's website was like 2009 .
 
1 members found this post helpful.
  


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
VPN Connection - Not able to browse other sites when connecting to VPN arindom Linux - Networking 25 07-02-2012 01:43 PM
rdesktop geometry disregarded, when connecting to an vbox rdp server nass Slackware 0 04-27-2012 09:47 AM
IpCop VPN: connecting from a windows XP pc mrpc_cambodia Linux - General 1 04-13-2009 04:28 PM
Help connecting to Windows VPN pickarooney Linux - Networking 2 04-11-2008 02:38 AM
Connecting Two Windows Offices With Linux/VPN johndavid Linux - Networking 1 06-27-2006 05:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:29 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