Open vpn setup

Red Squirrel

No Lifer
May 24, 2003
71,312
14,084
126
www.anyf.ca
This looks like a huge beast of an installation, but I'm going to attempt it.

I did yum install openvpn. First thing I noticed is any paths that tutorials lead me to, do not exist or are missing files. Also, /etc/openvpn is completly empty. I would expect at least a base configuration or something.

Has anyone ever set this up before?

All I really want is to enable a few of my friends to be able to access network drives, so I'm even considering it would be easier to find a different solution to do this. Anyone know of a program that can act as a server to share files, then users can connect to it and it adds a network drive to their system? Or how easy would it be to write something like this? I'm thinking something like sshfs, but for windows.
 

degibson

Golden Member
Mar 21, 2008
1,389
0
0
Originally posted by: sourceninja
If you have the right router at your house, openvpn is easier to setup.

The corollary to this is that if you don't have the right router, it may never work. If your router doesn't forward a particular flavor of packet (I forget what it was, sorry), you're hosed.
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
For what it's worth I had a much easier time using Strongswan/Openswan instead of OpenVPN for Linux VPN capabilities. If you only need SSL VPN then I guess OpenVPN should be perfect, but if you need more advanced stuff like IKE/IPSEC or NAT-T you'll have to find something else.
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
We use openvpn here at my job. I set it up. It gives me full access to everything on our network. One advantage of SSL vpn is that even at hotels and places that charge extra to let you vpn I can vpn just fine for free.

there are easier methods, but openvpn works great and has easy to use clients for all major operating systems.
 

Red Squirrel

No Lifer
May 24, 2003
71,312
14,084
126
www.anyf.ca
checking out openswan but seems it's just as poorly documented as openvpn. I don't get why they don't document these things better, or at least make them work out of the box.

Anyone know if there's a premade Vmware appliance made up for one of these? I have Vmware server 2.0 and I can just slap it on. All I need is something where i can access my full home network over a secure connection. I'm even thinking of just VNCing into my PC over a SSH tunnel but that's rather slow.
 

Red Squirrel

No Lifer
May 24, 2003
71,312
14,084
126
www.anyf.ca
hmm I found pptpd (poptop) which sounds promissing. I want to tunnel it through ssh.

Only issue is it seems to only listen on port 1723 on localhost. Is there a way to tell it to listen on the outside interface? also how to I make user accounts? I would love to RTFM but there is next to zero documentation on this either. guess linux based VPN is not really a popular thing for some reason, most projects I found are also abandoned. Almost feel like just saying screw it and get a pix, but they're quite pricy.