LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   connecting to windows using rdp through vpn (https://www.linuxquestions.org/questions/linux-newbie-8/connecting-to-windows-using-rdp-through-vpn-4175437875/)

fachhoch@gmail.com 11-19-2012 06:51 PM

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.

shayno90 11-20-2012 06:32 AM

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.

markush 11-20-2012 06:46 AM

Quote:

Originally Posted by fachhoch@gmail.com (Post 4832918)
...
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

fachhoch@gmail.com 11-20-2012 09:02 AM

Quote:

Originally Posted by markush (Post 4833215)
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?

tekhead2 11-20-2012 09:31 AM

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 .


All times are GMT -5. The time now is 02:01 PM.