LinuxQuestions.org
Visit Jeremy's Blog.
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 06-12-2009, 02:26 AM   #1
newyorkpride
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
Unhappy Setup VPN without tun/tap on linux fedora 10 VPS


Hi, I have a VPS and spent a good hour or two trying to setup openVPN on it and troubleshooting untill I found out that the problems were because the tun/tap module isnt installed. I asked for it to be installed but they told me it is only available for dedicated servers.

My question is, is it still possible to somehow create a VPN that I can connect to this server, without tun/tap. I have fedora core 10. Thanks in adcance!
 
Old 06-12-2009, 02:44 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You can create a "poor man's VPN" using ssh. I haven't done it myself, but a quick google should get you a good many results.
 
Old 06-12-2009, 03:18 AM   #3
newyorkpride
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Just looked it up and tried it myself. Its interesting but doesnt really help. It just seems like another way to use the server as a proxy, thats what I setup squid for though. I need something that acts a vpn.... in other words have my whole computer internet connection go thru it, not just firefox or explorer.
 
Old 06-12-2009, 03:41 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You can do it, but it looks like you still need a tun interface, so I guess it doesn't help a lot

Following is from man ssh:
Code:
SSH-BASED VIRTUAL PRIVATE NETWORKS
     ssh contains support for Virtual Private Network (VPN) tunnelling using the tun(4) network pseudo-device, allowing two
     networks to be joined securely.  The sshd_config(5) configuration option PermitTunnel controls whether the server sup-
     ports this, and at what level (layer 2 or 3 traffic).

     The following example would connect client network 10.0.50.0/24 with remote network 10.0.99.0/24, provided that the SSH
     server running on the gateway to the remote network, at 192.168.1.15, allows it:

           # ssh -f -w 0:1 192.168.1.15 true
           # ifconfig tun0 10.0.50.1 10.0.99.1 netmask 255.255.255.252

     Client access may be more finely tuned via the /root/.ssh/authorized_keys file (see below) and the PermitRootLogin server
     option.  The following entry would permit connections on the first tun(4) device from user ``jane'' and on the second
     device from user ``john'', if PermitRootLogin is set to ``forced-commands-only'':

       tunnel="1",command="sh /etc/netstart tun1" ssh-rsa ... jane
       tunnel="2",command="sh /etc/netstart tun1" ssh-rsa ... john

     Since a SSH-based setup entails a fair amount of overhead, it may be more suited to temporary setups, such as for wire-
     less VPNs.  More permanent VPNs are better provided by tools such as ipsecctl(8) and isakmpd(8).
 
Old 06-12-2009, 01:43 PM   #5
newyorkpride
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Yea I need something without tun/tap
 
  


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
tun tap query karan84 Linux - Networking 1 03-26-2007 11:29 AM
tun tap doubt karan84 Linux - Networking 2 01-10-2007 01:43 AM
Tun/Tap issue minasafwat Linux - Kernel 0 11-14-2006 01:11 AM
Tun/Tap getting started? blavo Linux - Newbie 0 02-14-2006 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:55 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