
#
# FreeS/WAN IPSec implementation, KLIPS kernel config defaults
#

#
# First, lets override stuff already set or not in the kernel config.
#
# We can't even think about leaving this off...
CONFIG_INET=y

#
# This must be on for subnet protection.
CONFIG_IP_FORWARD=y

# Shut off IPSEC masquerading if it has been enabled, since it will 
# break the compile.  IPPROTO_ESP and IPPROTO_AH were included in 
# net/ipv4/ip_masq.c when they should have gone into include/linux/in.h.
CONFIG_IP_MASQUERADE_IPSEC=n

#
# Next, lets set the recommended FreeS/WAN configuration.
#

# To config as static (preferred), 'y'.  To config as module, 'm'.
CONFIG_KLIPS=m

# To do tunnel mode IPSec, this must be enabled.
CONFIG_KLIPS_IPIP=m

# To enable AH -style authentication. Not necessary.
CONFIG_KLIPS_AH=m

# Authentication algorithm(s):
CONFIG_KLIPS_AUTH_HMAC_MD5=m
CONFIG_KLIPS_AUTH_HMAC_SHA1=m

# To enable encryption, say 'y'.   (Highly recommended)
CONFIG_KLIPS_ESP=m

# Encryption algorithm(s):
CONFIG_KLIPS_ENC_3DES=m

# IP Compression: new, probably still has minor bugs.
CONFIG_KLIPS_IPCOMP=m

# To enable userspace-switchable KLIPS debugging, say 'y'.
CONFIG_KLIPS_DEBUG=y

CONFIG_IPSEC_NAT_TRAVERSAL=y

