Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-30-2008, 08:14 PM   #1
LQ Newbie
Registered: Jan 2008
Posts: 5

Rep: Reputation: 0
openswan - linksys wrt54g

Hello! :-D

A little question:

Can I do a VPN betwen a wrt54g and a openswan server?

I have a local network (, it have a wrt54g as gateway to internet with public ip, it have PPPoE, PPTP, L2TP and testra cable capability.


I have another local network (, it have a dell poweredge/fedora 5 server as gateway to internet with public ip, with apache, sendmail, etc, etc AND OPENSWAN recently instaled.

Sugestions? Comentaries?

Thank you!
Old 02-01-2008, 06:21 AM   #2
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
OpenSwan is Linux's IPSec implementation. As far as i know, wrt54g is a linux firmware for LinkSys and other wireless /wired drices which gives them more capability but i'm not sure what VPN additional options wrt54g gives.

If both peers support IPsec then you should be able to build a VPN tunnel between both. IPsec works in two primary phases(very brief):
1- IKE phase1: responsible for authentication and establishing connection
Authentication methods could pre-shared key, raduis and or local Unix/Linux authentication

2- IPsec phase 2: securing traffic by enctypting everything in the tunnel.
here you should both peers should have matching encryption algorithms

IPsec is a complex protocol and there are many posibilites for a setup.
Bottom line, check and see if your wrt54g supports IPsec (not pptp ... which is crappy encryption anyway ... L2TP is a protocol used to integrate MS VPN native clients with IPSEC so i don't think you are going to use it ... )

Last edited by waelaltaqi; 02-01-2008 at 06:27 AM.


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
WRT54G linksys router help babyswan Linux - Networking 2 07-23-2007 07:17 AM
Setting up Linksys WRT54G router mickeyboa Fedora 2 06-11-2007 05:25 PM
linksys wrt54g firmware gv_rajasekhar Linux - Networking 1 11-27-2006 11:11 AM
problem with linksys wrt54g and adsl2mue duffboygrim Linux - Networking 0 04-29-2005 02:08 PM
WRT54G linksys router reefa Linux - Networking 2 03-16-2005 03:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration