LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-04-2008, 10:30 AM   #1
JakReloaded
LQ Newbie
 
Registered: May 2007
Posts: 10

Rep: Reputation: 0
Private - Secure VPN?


Hey Everyone!,

I have an VPS that i use as a "Sandbox" to mess around with scripts and things, however, recently my ISP has announced trials of "Traffic Shaping" and such...which is lame!

What i would like to do is setup a VPN Tunnel to my server so that i can download/browse the web without having to hit silly manipulation of my packets! I would like something fairly straight forward, fast and simple. Naturally i think it has to have encryption and also have the ability to "Add" other people to it as i can see one or two of my friends needing this too as they get switched over

If anyone can recommend a tool or a script that will do this please let me know!

Cheers,

JakReloaded
 
Old 09-04-2008, 10:39 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I just read this article.

http://www.theregister.co.uk/2008/09/01/openvpn_primer/
 
Old 09-04-2008, 11:44 AM   #3
JakReloaded
LQ Newbie
 
Registered: May 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks Stress_Junkie!

Great information - tried to do this on my box following a great guide here: http://www.throx.net/2008/04/13/open...uration-guide/

However, when trying to start the service i get the following:

Quote:
-bash-3.1# service openvpn start
Starting openvpn: [FAILED]
-bash-3.1#
I tried checking the openvpn-status.log but its totally empty, anyone got any ideas at all?

Thanks,

JakReloaded
 
Old 09-04-2008, 12:05 PM   #4
JakReloaded
LQ Newbie
 
Registered: May 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Okay, turns out after a bit more digging i have my log file! It was in "/var/log/messages" incase anyone was wondering:

Quote:
Sep 4 18:01:07 alpha openvpn[3137]: OpenVPN 2.0.9 i386-redhat-linux [SSL] [LZO] [EPOLL] built on Sep 4 2008
Sep 4 18:01:07 alpha openvpn[3137]: Diffie-Hellman initialized with 1024 bit key
Sep 4 18:01:07 alpha openvpn[3137]: TLS-Auth MTU parms [ L:1574 D:138 EF:38 EB:0 ET:0 EL:0 ]
Sep 4 18:01:07 alpha openvpn[3137]: Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Sep 4 18:01:07 alpha openvpn[3137]: Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Sep 4 18:01:07 alpha openvpn[3137]: Cannot allocate TUN/TAP dev dynamically
Sep 4 18:01:07 alpha openvpn[3137]: Exiting
Any ideas anyone? I will keep googling and post back if i find anything

Last edited by JakReloaded; 09-04-2008 at 12:27 PM.
 
Old 09-04-2008, 12:25 PM   #5
JakReloaded
LQ Newbie
 
Registered: May 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Just a follow up after some reading:

openvpn --dev tun0

Quote:
Thu Sep 4 18:24:57 2008 OpenVPN 2.0.9 i386-redhat-linux [SSL] [LZO] [EPOLL] built on Sep 4 2008
Thu Sep 4 18:24:57 2008 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Thu Sep 4 18:24:57 2008 ******* WARNING *******: all encryption and authentication features disabled -- all data will be tunnelled as cleartext
Thu Sep 4 18:24:57 2008 Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)
Thu Sep 4 18:24:57 2008 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Thu Sep 4 18:24:57 2008 Cannot open TUN/TAP dev /dev/tun0: No such file or directory (errno=2)
Thu Sep 4 18:24:57 2008 Exiting
If anyone can lend a hand on this i would greatly appreciate it =)

Last edited by JakReloaded; 09-04-2008 at 12:26 PM.
 
  


Reply

Tags
openvpn, vpn



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
LXer: Ten Firefox extensions to keep your browsing private and secure LXer Syndicated Linux News 1 11-26-2007 12:59 PM
Secure VPN XaViaR SUSE / openSUSE 3 08-30-2005 03:52 PM
secure private ip apocolpse Linux - Newbie 3 07-19-2005 05:10 PM
Public IP to Private for VPN type work Saints Linux - Networking 1 04-14-2004 09:25 AM
VPN - Virtual Private Networks? bnicolas Linux - Newbie 1 08-16-2001 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:39 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration