给openvpn客户分配固定ip

ifconfig-pool-persist ipp.txt ipp.txt 内 就是固定 ip       在/etc/openvpn/server.conf中增加client-config-dir /etc/openvpn/ccd然后在 /etc/openvpn/ccd目录中放针对每个客户端的个性化配置文件…

Read More...

批处理FINDSTR正则表达式用法实例分析

dos或批处理下findstr正则用法,会了这个我们就可以用批处理实现文本等搜索替换等     1.findstr . 2.txt 或 Findstr “.” 2.txt 从文件2.txt中查找任意字符,不包括空字符或空行 2.findstr .* 2.txt 或 finds…

Read More...