Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-22-2004, 03:55 PM   #1
Registered: Dec 2003
Distribution: Debian
Posts: 92

Rep: Reputation: 15
creating a VPN with Linux?

Hi all,

We have a Linux firewall (ipchains) at our office, with a public IP (still not active but available).

I wonder if we could set up one or two VPN's to be able to connect to our office remotely.

Does anyone knows how? or where to look for information?
Old 06-22-2004, 06:38 PM   #2
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
I myself did it with the ppp-over-ssh method, just because all necessary programs (pppd and ssh) were present at both ends and so I only had to do some easy configuration.

So, it is the easiest, but not the best solution. Besides, the gateways between the two networks should be unix ones. (For me it was not a problem as I use Linux at home for connection to the office. I also connected two office networks which had FreeBSD gateways).

If you are interested in this solution, you can find some more information at an older thread of mine at this forum.
However, do not use the ppp-over-ssh method if the vlan is "mission critical", as it tends to hang sometimes (I myself use a guard script to restart it if hung).

There are some other free programs that are designed for the purpose and thus they are much more reliable; however, their configuration might be harder. Unfortunately, I cannot recall the names of these programs. Google searching might help.
Old 06-23-2004, 02:13 AM   #3
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
OpenVPN was easy to setup.
Old 06-23-2004, 06:40 AM   #4
Registered: Aug 2002
Posts: 20,069

Rep: Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370
Futher reading:


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
VPN: linux VPN server behind Linksys router hamish Linux - Networking 14 08-25-2005 08:42 PM
Creating a Linux<-WinXP VPN with OpenSwan logo Linux - Security 4 02-07-2005 09:40 AM
creating a vpn tunnel to windows 2003 machine with ISA2003 using IPSec from RHES 3.0 gauravjee Linux - Networking 0 08-26-2004 06:05 AM
creating a vpn connection Dunadan1821 Linux - Networking 3 08-24-2004 05:18 AM
creating VPN with PPtP to connect to a router Lleb_KCir Linux - General 3 08-11-2004 11:50 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:54 AM.

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