Java, Create VPN for Linux Server

I would like to create a vpn for remote access on a linux server using Java. Can anyone recommend a good package?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
hgolovAuthor Commented:
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!
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hgolovAuthor Commented:
Thank you so much for closing this up for me! I appreciate your informative reply.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.