摘要: #!/bin/bash #author Template #Time 2018-06-30 22:07 # chkconfig 2345 40 98 # description nginx start/stop script prefix=/usr/local/nginx Nginx_Bin=${prefix}/sbin/nginx Nginx_Pid=${prefix}/logs/ngi... 阅读全文
posted @ 2018-06-30 22:08 谭普利特 阅读(120) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash #author Template . /etc/init.d/functions DATE_TIME=$(date +%F-%T) FILE_PATH='/etc/ppp/chap-secrets' FILE=`basename ${FILE_PATH}` BAK_DIR='/etc/ppp/backup' BAK_FILE="${BAK_DIR}/${FILE}.${... 阅读全文
posted @ 2018-06-30 15:59 谭普利特 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 第二层隧道协议L2TP(Layer 2 Tunneling Protocol)是一种工业标准的Internet隧道协议,它使用UDP的1701端口进行通信。L2TP本身并没有任何加密,但是我们可以使用IPSec对L2TP包进行加密。L2TP VPN比PPTP VPN搭建复杂一些。 环境说明: 1、需 阅读全文
posted @ 2018-06-30 03:37 谭普利特 阅读(3263) 评论(0) 推荐(0) 编辑