LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-24-2008, 11:05 PM   #1
ThanhDuongCong
LQ Newbie
 
Registered: Nov 2008
Posts: 27

Rep: Reputation: 15
Pls help me about OPENSWAN


Hi everybody ,
my local subnet was configured :

leftsubnet=192.168.100.0/24

I'm using CENTOS ver 5.1 and installed OPENSWAN to make vpn site to site with another networks .It's working OK but now I want to allow one more local subnet to access thru the VPN
for example : I want it to be :leftsubnet=192.168.100.0/24-192.168.10.0/24
So pls help me to configure that
Many Thanks
 
Old 12-26-2008, 10:42 AM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by ThanhDuongCong View Post
Hi everybody ,
my local subnet was configured :

leftsubnet=192.168.100.0/24

I'm using CENTOS ver 5.1 and installed OPENSWAN to make vpn site to site with another networks .It's working OK but now I want to allow one more local subnet to access thru the VPN
for example : I want it to be :leftsubnet=192.168.100.0/24-192.168.10.0/24
So pls help me to configure that
Many Thanks
The last time I checked openswan doesn't support multiple subnet definitions inside a tunnel.

The way I've typically seen it done in the past is...
Code:
conn addl-subnet-1
   leftsubnet=192.168.10.0/24
   also=mytunnel
conn addl-subnet-2
   leftsubnet=192.168.11.0/24
   also=mytunnel
conn mytunnel
   [[your full tunnel definition here]]
It's not pretty but it does work.
 
  


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
Openswan Evgeny Linux - Security 4 01-07-2010 11:43 AM
FC5+OpenSwan=HELP PLS SBZ Linux - Networking 3 04-30-2008 12:42 PM
RHEL 3 with Windows XP - Help please pls pls ar_m_in Red Hat 7 10-01-2006 09:42 AM
Openswan Evgeny Linux - Security 3 03-05-2005 03:59 AM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 05:12 PM

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

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