Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


Closed Thread
  Search this Thread
Old 09-24-2002, 02:10 PM   #1
Registered: May 2002
Location: London
Distribution: Redhat 7.3
Posts: 84

Rep: Reputation: 15
ipsec vpn

i need to create a vpn using ipsec tunnel so i can use a draytek router on side and the other i can have a linux box running a ipsec tunnel for vpn

i have tried to install freeswan but i cant find any documentation on how to do this

is there an easy way to set this up ???

or can anyone point me to somewher i can actually download it and get proper doumentation PLEASE HELP THIS IS URGENT!!!!

Old 09-24-2002, 05:24 PM   #2
Registered: May 2002
Location: London
Distribution: Redhat 7.3
Posts: 84

Original Poster
Rep: Reputation: 15
let me give a bitmoreexplanation of what i want to do.

this i the setup

Linux server---> Vigor Draytek 2600 router-->Internet<-----Router----Linux Box

ok both linux boxes are running redhat 7.3 (sorry actually one of them is running e-smith, but im gona remove that, so that wont matter)

so now the problem, the Vigor draytek router does do vpn via ipsec tunel etc.. and others and protocols,morecan be found at about the router.

so now the other side only has aplain router, so i need to either get the linux box to setup ipsec tunnel so i can vpn, connect via the draytek router, i thought i couldover come this by running this software on both linux boxes but the problem is although i have static ips on both routers take this ip and although the rest of the network connect to the server to go to the net , i was wondering could this work ???

hope the diagram helps

network ----> server(running VPN)--> router with static ip--->Internet<---router with static ip<-----server (running VPN)---Network

is this possible ??

please note the the server will have a dynamic ip of where the router has an INTERNAL ip of and this is the samefor both sides, but the external ip's are only given to the router for obvious reasons, so how can i overcome this,FREE software is a priority, and easy of installation or atleast staright forward documentaion, i would not consider my sefl a linux newbie, but i have tried to install, freeswan with no luck, and openVPN looks promising, but it would be nice to use it.

THANK YOU FOR YOUR HELP (in advance!!!)

Old 09-25-2002, 08:47 AM   #3
Registered: Jan 2001
Location: Ljubljana Slovenija
Distribution: Slackware
Posts: 70

Rep: Reputation: 15

I have been using FreesWan to create my VPN IPsec con, so if i can help in any way just msg me. Aha and the documetation is on FreesWan website.

I have instaled it on SlackWare distro.

regards, PcHammer
Old 09-26-2003, 03:29 AM   #4
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
Originally posted by PcHammer
I have instaled it on SlackWare distro.
Old 10-06-2003, 11:23 PM   #5
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30

I can not get FreeSwan to compile on Slackware since 1.98. Now no matter what I do I get errors when the make oldgo tries to comiple the utilites in the testing dir.

I have tried fresh kernel source dir's, lastest freeswan builds. Removing the checks.

Still no luck

Old 10-30-2010, 01:20 AM   #6
LQ Newbie
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0

Hii Snake,
I have exactly the same scenario. So please if you have got some solution then tell me. PLZ ITS URGENT...

Thanks & Regards
Kuldeep Sharma
Old 10-30-2010, 03:43 PM   #7
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
ks47, please don't resurrect dead threads. Start your own thread and feel free to use reference links to dead threads like this one if need be. Help us keep LQSEC as zombie-free as possible.

Closed Thread

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
Setting up IPSec VPN? miscreant Linux - Networking 2 06-14-2010 09:49 PM
ipsec vpn software watts3000 Linux - Networking 0 06-09-2005 06:21 PM
IPSEC VPN Problem nirav.jani Linux - Security 1 01-27-2005 10:01 AM
Need help with IPSec VPN securespeed Linux - Networking 3 07-19-2004 12:25 PM
VPN with IPSec question sergiyn Linux - Networking 2 10-09-2003 01:52 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:19 PM.

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