[index] [text page] [<<start] [<prev] [next>] [last>>]
Page 25: FreeS/WAN configuration example

Page 25

  
  FreeS/WAN configuration example
  $ ipsec rsasigkey --verbose 2048 > rsakey.tmp
  $ (reformat appropriately and install in /etc/ipsec.secrets)
  $ cat /etc/ipsec.conf
  config setup
       interfaces="ipsec0=eth0"
       uniqueids=yes
  conn home-work
       left = 10.1.1.1
       leftsubnet = 10.1.0.0/16
       leftnexthop = 10.1.0.1
       leftid = @work.my_company.com
       leftrsasigkey=0sAQna00xg8g...
       right = 192.168.1.10
       rightsubnet = 192.168.2.0/24
       rightnexthop = 192.168.1.254
       rightid = @home.my_network.org
       rightrsasigkey=0sAQnZ2Ioq2I...

Copyright 2003, Bri Hatch of Onsight, Inc.

Presented at Real World Linux, 2003.

Presentation created using vim and MagicPoint.