LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-02-2008, 07:33 PM   #1
CCraft
LQ Newbie
 
Registered: Oct 2005
Posts: 7

Rep: Reputation: 0
Looking for a simple Linux VPN sever...


Greetings!

What I am wanting to do is connect to my home network from a remote location over the internet. I have a FreeNAS box set up that shares 'home folders' to all the users on my network. I want to be able to use the windows vpn client built into windows to connect into my network and have it function just like I was plugged into the LAN. I have looked at several options like OpenVPN but they all seem complicated and seem to do a lot more than I really need. I feel like Linux is for sure the way to go to do this. I have a box I can dedicate to being a server for the vpn. Does anyone have any suggestions for me?

Thanks in advance.

Chris
 
Old 07-02-2008, 10:03 PM   #2
Linville79
Member
 
Registered: Nov 2006
Location: Indiana, U.S.A.
Distribution: Red Hat Enterprise Linux, Fedora, CentOS
Posts: 134

Rep: Reputation: 16
Check out vpnc... it's a very simple config file, and what I use to do remote SysAdmin work from home if a server craps out through the night.

EDIT: Oops, I misread what you were asking for. I do believe that any VPN server that you try to setup is going to be mildly complicated. There will need to be shared keys and the such for the secure connection to function properly. I've not set one up before since we use a Cisco VPN concentrator at work, though. Sorry.

Last edited by Linville79; 07-02-2008 at 10:06 PM. Reason: Misread the OP
 
Old 07-02-2008, 10:12 PM   #3
CCraft
LQ Newbie
 
Registered: Oct 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Hi Linville79. Thanks for the reply. I checked out vpnc but can't find any good documentation. Its it just a package you install inside something like RedHat?
 
Old 07-03-2008, 08:22 AM   #4
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
I personally like vtun. Its a quick easy setup (well on debian at least). It provides basic vpn (tunnel, encryption, compression) and uses the tun/tap interface in the kernel so its endpoints are virtual ethernet interfaces that you can treat as real ones, so you can do things like bonding and bridging with them.

It currently doesn't have a windows client (and I didn't read the whole request) so just ignore this entry

Last edited by estabroo; 07-03-2008 at 08:24 AM. Reason: didn't notice need for windows client, sorry
 
Old 07-08-2008, 11:32 AM   #5
strick1226
Member
 
Registered: Feb 2005
Distribution: Arch, CentOS, Fedora, macOS, SLES, Ubuntu
Posts: 327

Rep: Reputation: 63
You mentioned that you had a server you could use for hosting the VPN... I'm not sure if it's already running applications/services, or if you're able to assign only the VPN functions to it.

If the machine is able to be re-used, I very much recommend a small firewall distro, such as IPCop, which is linux-based (http://ipcop.sourceforge.net) or pfSense, which is FreeBSD-based (http://www.pfsense.org). Both have rather easy-to-configure graphical interfaces to configure a VPN endpoint (standalone) or site-to-site tunnel.

The OpenVPN GUI (client) is much easier to use in Windoze than the command-line-only one. It's available at http://www.openvpn.se . I've been using it for years along with a pfSense box and it's been rock solid--even with novice computer users.

There are active community-supported forums for both IPCop and pfSense, along with lots of documentation for each. I imagine it would be much easier to set up a VPN tunnel using one of these firewall distro's rather than attempting to configure it by hand on an existing linux server.

If you're needing something that installs on a currently-running box I'm not sure what to recommend on that... but it might be worth digging up an old P2/P3 box to dedicate to one of these firewall distro's, to make life a little easier...

Hope this helps.
 
Old 07-10-2008, 07:57 PM   #6
williebens
Member
 
Registered: Jan 2008
Posts: 88

Rep: Reputation: 16
Hello strick1226:

I am setting up an openvpn server. However, I am really stuck with making the openvpn server to be the gateway between the two LANs I want to connect through the tunnel. Is it possible for you to help me in making the openvpn server the gateway?

Let me know, and I will provide you with the routing tables and other information.

Thanks.
--Willie
 
  


Reply



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
Some problems setting up my first Linux sever Bviper Linux - Newbie 4 12-24-2006 03:46 AM
Simple question about VPN depam Linux - Software 11 11-08-2006 03:48 AM
Any help for setting a linux file sever haoxux11 Linux - Networking 1 05-18-2006 12:52 AM
Simple firewall and VPN question qennster Linux - Networking 4 05-08-2005 11:34 PM
Remote administration of Linux sever jomy Linux - Networking 3 12-07-2004 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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