LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 12-30-2004, 02:38 PM   #1
gentoo_newbie
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
tlowk
Member
 
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 151

Rep: Reputation: 23
I think that the examples of openvpn 2.0 are what you are looking for

http://openvpn.sourceforge.net/20notes.html#examples
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


eg

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
http://localhost:1080/aPageAtUniServer2

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

Regards,

Tlowk
 
Old 12-30-2004, 05:00 PM   #3
gentoo_newbie
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
tlowk
Member
 
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 151

Rep: Reputation: 23
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)

Tlowk
 
  


Reply


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


All times are GMT -5. The time now is 03:52 PM.

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