Page 1 of 1

VPN and RDP mania

Posted: Wed Aug 29, 2012 9:51 am
by Greagnath
Dear esteemed OpenVPN community,

I looked at this; http://openvpn.net/index.php/open-sourc ... dging.html

I just wanted to make sure this would make my idea work and come to fruition. The setup I want to make is a server which has Virtual Environments and therefore also virtual NICs, two to be precise per Virtual Environment. So you can RDP to the server and then start a VPN session on the Server and possibly a new RDP session with the VPN credentials. This is a networking nightmare to me, but I want to know if it is technically possible.

So simple form:
User -> RDP(x) -> Server (Virtual Environment) -> VPN -> Client
|
-----------> RDP(y) -> Client

So you can have a teamviewer session to watch RDP(x) to see what is going on with RDP(y).

I hope this makes sense.

Also hello everybody and I wish you a pleasant day after reading this. :)

Re: VPN and RDP mania

Posted: Thu Sep 06, 2012 11:34 am
by Mimiko
It's hard to understand what you want to achieve. You can run an RDP to the server, run VPN client and hopefully this will not block you, and run another RDP thru tunnel to another server.

Re: VPN and RDP mania

Posted: Thu Sep 06, 2012 8:59 pm
by Greagnath
I want to make one server with different VM environments on there that will have the full configuration for one client for one customer as it were.

Server x -> VM y -> VPN config y
-> VM z -> VPN config z
-> VM q -> VPN config q

Now I want to make a RDP connection to server x, called RDP(x), to environment VM y or z or q.

Then I want to enable VPN config (y or z or q). After that I want to keep that RDP connection RDP(x) alive as it were and make a new one to the client's environment called RDP(y) or RDP(z) or RDP(q). That RDP connection is from within VPN environment.

Hope that clarifies everything. :)

Re: VPN and RDP mania

Posted: Wed Sep 26, 2012 6:46 pm
by Mimiko
So I understand that on each VMs you will have it's own VPN client config. And you can use this tunnel to connect to desired client. Avoid using "redirect-gateway" option in order to not loose your initial RDP session to VMs.

Re: VPN and RDP mania

Posted: Thu Oct 04, 2012 10:00 pm
by Greagnath
So you say it is possible, but not use "redirect-gateways" otherwise my RDP session will be lost. I guess the first RDP sesion right? :)

Re: VPN and RDP mania

Posted: Mon Oct 08, 2012 5:56 am
by Mimiko
I guess the first RDP sesion right?
Yes, the original RDP connection will be lost.