Windows IPSEC监控,使用C#编写,输出为一行字符串,可以按照既有IPSEC规则生成模板 using System; using System.Diagnostics; using System.IO; using System.Text; namespace WindowsIPSecMonitor { class WindowsIPSecMonitor { //*****颜色提示***** //红色警告 private static void RedError(string text
一.安装Git客户端 全部安装均采用默认! 1. 安装支撑软件 : https://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git 各项全选: 选第三项使用unix命令:run git and included unix tools from windows command prompt 选第一项:检出CRLF->LF, 检入LF->CRLF 安装git for windows好,可使用C:\
#!/bin/bash #获取参数 while getopts "n:" opt; do case $opt in n) client_name=$OPTARG ;; \?) ;; esac done cd /usr/share/doc/openvpn-2.2.2/easy-rsa/2.0 source ./vars ./build-key $client_name cd /home/openvpn cp /usr/share/doc/openvpn-2.2.2/easy-rsa/2.