Download your favorite Linux distribution at LQ ISO.
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 12-30-2004, 02:38 PM   #1
LQ Newbie
Registered: Jun 2004
Posts: 4

Rep: Reputation: 0
Virtual Private Network Setup?

Hey, how would I go about setting up a vpn to my university network? I need something really easy (since I'm an idiot) and it's kind of urgent... I had a look at openvpn and somewhere I read something about ipsec and all that kind of stuff... But when I was looking at man pages and howtos, I got the feeling that I wouldn't really ever get this to work
I only need to log in to the VPN with a user name and password. I don't need any superb security or any of that stuff, just a quick small connection for 5 minutes... Can some one help?

Thanks a lot!
Old 12-30-2004, 03:19 PM   #2
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 182

Rep: Reputation: 25
I think that the examples of openvpn 2.0 are what you are looking for
you can even use those keys

modify this line at the client side
remote my-server-1 1194

When you want to go even easier, maybe you need to consider port forwarding
with ssh


ssh -L 1080:uniServer2:80 uniServer1 -l myuser

where you log on to the uniServer1 and connect to the http port of uniServer2

use it like this

It is not a vpn since it only handles tcp but maybe that is enough for your needs.


Old 12-30-2004, 05:00 PM   #3
LQ Newbie
Registered: Jun 2004
Posts: 4

Original Poster
Rep: Reputation: 0
hmmm... ok, first of all: sorry for my stupidity.

Openvpn didn't work with the config file and the changed setting. But doesn't openvpn require that the host server that I connect to is also running an Openvpn client?

Concerning ssh: I didn't quite understand what you mean. Do I need two servers to connect to?
Old 12-31-2004, 12:21 AM   #4
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 182

Rep: Reputation: 25
Yes, for openvpn both sides need to run the openvpn software.
I don't see how you can create a VPN with software at both sides,
that also have enought priviledge to get access to the network
and the routing tables, there is a lot more involved than listening
on a socket.

For the ssh approach the server needs to run sshd (which is probably the case)

What happens with this is that a port from your computer is send from the
other computer (uniServer1) to a computer and a port that is seen by that
computer (uniServer2) but of course that can be 'localhost'

But again this is not a real VPN solution, but tcp port forwarding which might
be sufficient. (depending on what you like to do with it)



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
how to setup a sub-network in a private netwok charankhv Linux - Networking 0 04-26-2005 12:52 AM
How to install a VPS / where to find it (Virtual Private Server) McNadia Linux - Software 1 01-05-2005 03:52 AM
Private LAN setup with redhat 9 help ezeke1 Linux - Networking 24 11-18-2004 05:27 AM
Virtual private network citrus Linux - Networking 1 05-24-2004 08:11 AM
VPN - Virtual Private Networks? bnicolas Linux - Newbie 1 08-16-2001 04:24 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration