can ping to lan behind openvpn, but can not use rdp with ip

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
renzomassaro
OpenVpn Newbie
Posts: 4
Joined: Thu Jun 23, 2011 1:57 pm

can ping to lan behind openvpn, but can not use rdp with ip

Post by renzomassaro » Thu Jun 23, 2011 2:01 pm

Hello,

I set up openvpn on Ubuntu server en all is working. I can ping to the servers in network which I configured in routes. When I want to rdp a machine with ip then its not working but when I use the name of that machine it is working. How is this possible?

Also I pushed DNS server ip from the lan network to the client side and I can ping to vcs.blabla.nl but when use this name in internet explorer its not working. Is there something to configure this?

Greetz renzo

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: can ping to lan behind openvpn, but can not use rdp with

Post by janjust » Thu Jun 23, 2011 2:24 pm

so a ping to RDP-IP works, but a direct RDP connection to RDP-IP does not? and the connection to RDP-by-name does work? I'm not sure if that's an OpenVPN issue...

As for IE not working: is IE configured to use automatic proxy support? is it picking up a proxy server?

finally, are you sure that you are actually connecting to the right RDP server? if you're using NATting then it's quite easy to get redirected to the wrong host....

renzomassaro
OpenVpn Newbie
Posts: 4
Joined: Thu Jun 23, 2011 1:57 pm

Re: can ping to lan behind openvpn, but can not use rdp with

Post by renzomassaro » Thu Jun 23, 2011 2:28 pm

ie has no proxy configured. the strange thing is that when I go to servername.blabla.nl it is working and when I us the dnsname.blabla.nl (configured in LAN dns) its not working. strange??

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: can ping to lan behind openvpn, but can not use rdp with

Post by janjust » Thu Jun 23, 2011 2:54 pm

what does

Code: Select all

nslookup servername.blabla.nl
nslookup dnsname.blabla.nl
return after the VPN is up? are the IPs identical?

renzomassaro
OpenVpn Newbie
Posts: 4
Joined: Thu Jun 23, 2011 1:57 pm

Re: can ping to lan behind openvpn, but can not use rdp with

Post by renzomassaro » Thu Jun 23, 2011 4:06 pm

it seems that both ip adresses is on the same server. so vcs02 and vcs both are same server but one address is the address that is working...hmmm

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: can ping to lan behind openvpn, but can not use rdp with

Post by janjust » Fri Jun 24, 2011 7:38 am

I don't think this is an openvpn issue; what happens if you open a CMD window and telnet to both names port 3389, i.e

Code: Select all

telnet servername.blabla.nl 3389

Post Reply