LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-16-2009, 03:39 PM   #1
AIM Systems
LQ Newbie
 
Registered: Nov 2008
Posts: 10

Rep: Reputation: 1
Unhappy How do I set up access to multiple subnets on IPsec Connection


I have a working IPsec connection to a client's server. Presently I can access their 192.168.100.0/24 subnet. How do I alter my /etc/ipsec.conf to access the new 192.168.101.0/24 subnet?

Here is the relevant snippet from my /etc/ipsec.conf:
Code:
#
#    RCA Connection
#
conn rca-arm-rw
        # Left security gateway, subnet behind it, next hop toward right.
        left=ipsec.armsystems.ca
        leftid=@armsystems.ca
        leftsubnet=10.10.10.0/24
        leftnexthop=206.17.197.217
        leftsourceip=10.10.10.11
        # RSA 2048 bits   wall.armsystems.ca   Wed Dec 15 16:22:42 2004
        leftrsasigkey=0sAQN9l++On/V97Q0Awuw32Jx.......
        # Right security gateway, subnet behind it, next hop toward left.
        rightnexthop=%defaultroute
        right=rca.arm-systems.ca
        rightsubnet=192.168.100.0/24
        rightid=@rca.arm-systems.ca
        rightsourceip=192.168.100.2
        # RSA 2192 bits   rca.royalcity.ca   Wed Oct  4 11:02:40 2006
        rightrsasigkey=0sAQOTrVnSbxA7l0q...........
        # To authorize this connection, but not actually start it, at startup,
        # uncomment this.
        auto=add
I would like to access both the 192.168.100.* subnet as well as the 192.168.101.* subnet with minimal alteration to ipsec.conf
 
  


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
Samba on multiple subnets id_viorel Linux - Server 1 03-21-2008 07:12 PM
How to set up ethernet ipsec connection? kornerr Slackware 2 02-11-2006 11:42 AM
Multiple Subnets lucasnishimura Linux - Networking 1 08-07-2005 11:32 AM
Set up Windows network with multiple access points newuser455 General 8 02-02-2005 05:12 PM
Routing multiple subnets to multiple wans raven1000x Linux - Networking 1 03-10-2004 02:29 AM

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

All times are GMT -5. The time now is 05:25 AM.

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