# /etc/ipsec.conf - FreeS/WAN IPsec configuration file # More elaborate and more varied sample configurations can be found # in FreeS/WAN's doc/examples file, and in the HTML documentation. # basic configuration config setup # THIS SETTING MUST BE CORRECT or almost nothing will work; # %defaultroute is okay for most simple cases. interfaces=%defaultroute # Debug-logging controls: "none" for (almost) none, "all" for lots. klipsdebug=none plutodebug=none # Use auto= parameters in conn descriptions to control startup actions. plutoload=%search plutostart=%search # Close down old connection when new one using same ID shows up. uniqueids=yes # defaults for subsequent connection descriptions # (mostly to fix internal defaults which, in retrospect, were badly chosen) conn %default keyingtries=1 authby=rsasig leftrsasigkey=%cert rightrsasigkey=%cert # connection for Windows 2000 users to office conn win2000 right=%any left=210.54.122.217 leftsubnet=192.168.0.0/24 leftnexthop=210.54.122.222 leftid="/C=NZ//O=Design Build Systems Ltd/CN=DBS Windows 2000 Certificate (c) 2002" auto=add pfs=yes