Java, Create VPN for Linux Server

Posted on 2008-01-26
Medium Priority
Last Modified: 2010-04-21
I would like to create a vpn for remote access on a linux server using Java. Can anyone recommend a good package?
Question by:hgolov
  • 2
  • 2
LVL 57

Expert Comment

ID: 20783309
I am confused as what you want to do.

A VPN, is a virtual private network.  Most people today consider a VPN an encrypted tunnel between two end points (host to host, host to LAN, LAN to LAN) over the Internet.

Do you want to write VPN code in Java?

Or do you just want to setup a VPN connection between two computers so that you can access Java code?

If all you want to do is access a remote server in a secure and encrypted manner I would suggest setting up a ssh server on the remote box an use a ssh client on your computer to access the remote server.

Author Comment

ID: 20784883
What I want is to set up a VPN server on linux, preferably using Java, for multiple clients to access. The clients will have a java interface to connect to the VPN server so I thought it would be nice if the server part could also be written in Java.
While waiting for an answer, I have done a lot of research. It seems like openVPN is the way to go, and it does not seem that there is a java package for this.
If you do know of anything, please let me know!
LVL 57

Accepted Solution

giltjr earned 2000 total points
ID: 20785874
Do you want the client VPN code to actually be written in Java, or do you just want the interface to connect to the VPN to be Java based?

I personally would STRONGLY suggest that you do NOT have the actual VPN code be Java.  VPN is a LOT of encryption/decryption.  This is CPU intensive to start with, then you stick the CPU overhead of Java and you will bring a 4Ghz processor down to it knees.

Writing Java code to start the real VPN client seems a bit overkill to me, but if that is the programing language you know, then that is fine.

If you are looking for free VPN software, OpenVPN is a good choice.

Author Closing Comment

ID: 31425309
Thank you so much for closing this up for me! I appreciate your informative reply.

Featured Post

We Need Your Input!

WatchGuard is currently running a beta program for our new macOS Host Sensor for our Threat Detection and Response service. We're looking for more macOS users to help provide insight and feedback to help us make the product even better. Please sign up for our beta program today!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Some of you may have heard that SonicWALL has finally released an app for iOS devices giving us long awaited connectivity for our iPhone's, iPod's, and iPad's. This guide is just a quick rundown on how to get up and running quickly using the app. …
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question