[Openswan Users] How to start ipsec at boot time

Michael H. Warfield mhw at WittsEnd.com
Mon Dec 13 16:58:13 EST 2010

On Mon, 2010-12-13 at 16:49 +0100, Gary Long wrote: 
> Ok, so it depends on the operating system. I'm running openSwan on 
> Ubuntu but i'm not used to it.

Minor niggle...  Linux is the operating system (kernel).  Ubuntu is a
distribution.  Ubuntu, Debian, Fedora, RedHat, Slackware, SUSE, etc -
these are all Linux.  Yes it depends on the OS (Linux vs BSD vs Solaris,
etc) but it's also distribution dependent.  I know it's confusing.

Someone already asked if you compiled it from source or installed it
from apt-get.  If you're not real experienced at this, please install
from apt-get and make life easier on yourself.  If there's something in
a newer release you require, you can always add it on later, but start
from the packaged install, initially.  If you have installed from
apt-get (or the GUI software manager front end to apt-get, Synaptic) you
can use the system administration tools for services to enable that
service to run at boot.


> Gary
> Le 13/12/2010 16:46, Michael H. Warfield a écrit :
> > On Mon, 2010-12-13 at 16:41 +0100, Gary Long wrote:
> >> Hi again :)
> >> I would like ipsec to start at boot time. At the moment, when I start
> >> the server and use ipsec verify, I get the following message :
> >> Checking that pluto is running                                  [FAILED]
> >>     whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")
> >> How could I change that?
> > That depends on what you are running it on.
> >
> > If you are running it on Fedora or RedHat or a related distro based on
> > them such as CentOS or NST, then you would use "chkconfig ipsec on" to
> > set it to start at boot time and "system ipsec [re]start" to start it
> > manually.  On Ubuntu or Debian or other distro, you would have to use
> > other commands.  Same for SUSE.  Same for Slackware.  If you're not on a
> > Linux distro, you'll have to look that up for that OS.
> >
> >> Thank you :)
> >> Gary
> > Regards,
> > Mike
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Micropayments: https://flattr.com/thing/38387/IPsec-for-Linux-made-easy
> Building and Integrating Virtual Private Networks with Openswan: 
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155

Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
Url : http://lists.openswan.org/pipermail/users/attachments/20101213/b12bfb66/attachment.bin 

More information about the Users mailing list