Home Recent Changes WikiHelp
Openswan /
AdvanceConfig
Login
Last modified: August 04, 2006, at 03:03 PM

This is a collection of advanced configuration examples.

Using also= to setup multiple subnets

conn    ramsayville--marajade
        leftsubnet=202.112.44.192/26
        also=road-marajade
        also=homegate.tygerteam.com
        auto=start

conn   ramsayville-annex--marajade
        leftsubnet=192.168.88.0/24
        also=road-marajade
        also=homegate.tygerteam.com
        auto=start

conn    road-marajade
        right=%defaultroute
        rightid=@marajade.sandelman.ca
        rightsubnet=205.150.200.163/32
        rightsourceip=205.150.200.163
        #key is in DNS, so no need for it here.

conn    homegate.tygerteam.com
        left=69.196.473.536
        dpdaction=hold
        dpddelay=30
        dpdtimeout=180
        leftid=@homegate.tygerteam.com
        leftrsasigkey=0sAQP...Lh

This sets up two conns: one from an extruded IP of 205.150.200.163/32 to 192.168.88.0/24, and the other from 205.150.200.163/32 to 202.112.44.192/26.

It also says to use the .163 address whenever talking to those subnets using right[sourceip]

Powered by PmWiki
view edit upload print history