diff options
-rw-r--r-- | etc/defaults/rc.conf | 3 | ||||
-rw-r--r-- | etc/rc.d/ike | 18 |
2 files changed, 21 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 49e037f..bf013d4 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -71,6 +71,9 @@ firewall_logging="NO" # Set to YES to enable events logging firewall_flags="" # Flags passed to ipfw when type is a file ip_portrange_first="NO" # Set first dynamically allocated port ip_portrange_last="NO" # Set last dynamically allocated port +ike_enable="NO" # Enable IKE daemon (usually racoon or isakmpd) +ike_program="/usr/local/sbin/isakmpd" # Path to IKE daemon +ike_flags="" # Additional flags for IKE daemon ipsec_enable="NO" # Set to YES to run setkey on ipsec_file ipsec_file="/etc/ipsec.conf" # Name of config file for setkey natd_program="/sbin/natd" # path to natd, if you want a different one. diff --git a/etc/rc.d/ike b/etc/rc.d/ike new file mode 100644 index 0000000..37422b6 --- /dev/null +++ b/etc/rc.d/ike @@ -0,0 +1,18 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: ike +# REQUIRE: root beforenetlkm mountcritlocal +# BEFORE: DAEMON +# KEYWORD: FreeBSD + +. /etc/rc.subr + +name="ike" +rcvar=`set_rcvar` +extra_commands="reload" + +load_rc_config $name +run_rc_command "$1" |