Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-28-2006, 01:51 AM   #1
Registered: Mar 2003
Posts: 178

Rep: Reputation: 30
Can I use OpenVPN to create a secure connection for Remote Desktop

I was interested in setting up a VPN at my work to login to Windows with Remote Desktop. I wanted to use OpenVPN and tunnel it through my Linux server however I'm not sure how this would work. I currently have a Linksys router set up there. I'm not really sure of the logic in how this would work. Would I need to set the Linux server up before the router, after the router, etc.? I'm trying to understand the logic.
Old 04-28-2006, 09:46 PM   #2
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,532

Rep: Reputation: 100Reputation: 100
Dunno OpenVPN, but if you only want a remote desktop, a VNC throught ssh will be easier and very secure, depending of the length and complexity of your password.
You'll have to forward the port (22 for ssh) from your router to your server.

There's plenty of threads around explaining how to do that.
Basically, you launch a VNC server and ssh server on your box.
Then, you connect from win$ with ssh, specifying you wanna tunnel the X11 port (5900), then you launch VNC client, targeting win$ (the X11 port is tunnelled).
Old 04-28-2006, 10:57 PM   #3
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
yes you could use OpenVPN. once you configure your VPN connection (the vpn connection should be able to pass through the router with no trouble, although you may have to forward a couple ports) you can use rdesktop on the linux box to access the windows terminal services (rdp) on the WinXP machine.

You can also make use of something like carpaltunnel or openvpn-admin to assist in configuring the VPN connection

another option is ssl explorer, it is also basically a SSL VPN that works on windows / linux and you can use rdestop through it as well..
Old 04-29-2006, 03:06 AM   #4
Registered: Mar 2003
Posts: 178

Original Poster
Rep: Reputation: 30

I'll take a look into it. Thank you both for your help!
Old 04-29-2006, 06:50 AM   #5
Registered: Mar 2003
Posts: 178

Original Poster
Rep: Reputation: 30

The thing is the VPN isn't for me it's for the people up there. I recommended OpenSSH before to the IT director and he felt if it's more than clicking a button it's too difficult for them. As far as rdesktop I haven't used it before, however these people need to connect from Windows to Windows and use the Linux server in the middle for the VPN if at all possible, sorta like some routers offer. It seems like the Windows machine they connect to wouldn't have VPN. The VPN session would be betweem the Linux server and the client machine. Everything would encrypt between the two and then the Linux server would send the data to the Windows host machine.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Secure remote desktop with Linux? VNC? SSH? VPN? sauce Linux - Security 3 12-16-2005 02:24 PM
Remote Desktop Connection sara_mit2001 Linux - General 5 10-09-2004 07:41 PM
making openvpn secure with openssl ( ? ) antken Linux - Networking 1 03-31-2004 10:14 AM
Remote desktop connection jaws75 Linux - Networking 3 09-24-2003 11:14 AM
Remote Desktop Connection Da_Quest Linux - Networking 2 08-15-2003 11:29 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:11 AM.

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