源码地带 > 电路图 > 电子资料下载 > 网络 >ipsec vpn > 查看压缩包源码

ipsec vpn

源代码在线查看: _updown_x509.in

软件大小: 3514 K
上传用户: akk79600872
关键词: ipsec vpn
下载地址: 免注册下载 普通下载 VIP

相关代码

				#! /bin/sh				#				# customized updown script				#								# logging of VPN connections				#				# tag put in front of each log entry:				TAG=vpn				#				# syslog facility and priority used:				FAC_PRIO=local0.notice				#				# to create a special vpn logging file, put the following line into				# the syslog configuration file /etc/syslog.conf:				#				# local0.notice                   -/var/log/vpn				#				# are there port numbers?				if [ "$PLUTO_MY_PORT" != 0 ]				then					S_MY_PORT="--sport $PLUTO_MY_PORT"					D_MY_PORT="--dport $PLUTO_MY_PORT"				fi				if [ "$PLUTO_PEER_PORT" != 0 ]				then					S_PEER_PORT="--sport $PLUTO_PEER_PORT"					D_PEER_PORT="--dport $PLUTO_PEER_PORT"				fi								# CAUTION:  Installing a new version of Openswan will install a new				# copy of this script, wiping out any custom changes you make.  If				# you need changes, make a copy of this under another name, and customize				# that, and use the (left/right)updown parameters in ipsec.conf to make				# Openswan use yours instead of this default one.								LC_ALL=C export LC_ALL								# things that this script gets (from ipsec_pluto(8) man page)				#				#				#      PLUTO_VERSION				#              indicates  what  version of this interface is being				#              used.  This document describes version  1.1.   This				#              is upwardly compatible with version 1.0.				#				#       PLUTO_VERB				#              specifies the name of the operation to be performed				#              (prepare-host, prepare-client, up-host, up-client,				#              down-host, or down-client).  If the address family				#              for security gateway to security gateway communica			

相关资源