<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0"><id>tag:blogger.com,1999:blog-1472908415071697712</id><updated>2025-03-10T20:14:05.951+08:00</updated><category term="GFW"/><category term="常用软件"/><category term="电脑故障"/><category term="linux教程"/><category term="开源"/><category term="建站程序"/><category term="debian"/><category term="音乐视频"/><category term="voip"/><category term="raspberry pi"/><category term="goagent"/><category term="linux命令"/><category term="reaver"/><category term="aircrack-ng"/><category term="ip"/><category term="shadowsocks"/><category term="shadowsocks-libev"/><category term="压缩"/><category term="BT5"/><category term="beini"/><category term="cdlinux"/><category term="denyhosts"/><category term="lamp"/><category term="lnmp"/><category term="nginx多域名"/><category term="nginx多域名配置"/><category term="nginx设置多域名"/><category term="oepnvpn"/><category term="openvpn for android"/><category term="s60v3系统软件"/><category term="squid3"/><category term="temperature"/><category term="vps.me"/><category term="wifi"/><category term="wifite"/><category term="xbmc"/><category term="xiaopan"/><category term="免流"/><category term="地下铁路"/><category term="邀请码"/><title type="text">青莲</title><subtitle type="html">青莲-予/独爱莲之/出淤泥而不染,濯清涟/而不妖.</subtitle><link href="http://hdp5252.blogspot.com/feeds/posts/default" rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default?redirect=false" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/" rel="alternate" type="text/html"/><link href="http://pubsubhubbub.appspot.com/" rel="hub"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default?start-index=26&amp;max-results=25&amp;redirect=false" rel="next" type="application/atom+xml"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><generator uri="http://www.blogger.com" version="7.00">Blogger</generator><openSearch:totalResults>221</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><xhtml:meta content="noindex" name="robots" xmlns:xhtml="http://www.w3.org/1999/xhtml"/><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-8587800727741751882</id><published>2024-07-13T15:57:00.000+08:00</published><updated>2024-07-13T15:57:48.324+08:00</updated><title type="text">euserv安装openvpn</title><content type="html">&lt;div&gt;1安装openvpn squid&amp;nbsp;&lt;/div&gt;&lt;div&gt;apt install nginx squid openvpn net-tools&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2设置ca证书&lt;/div&gt;&lt;div&gt;&amp;nbsp;cd /usr/share/easy-rsa/&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;./easyrsa init-pki    #1、初始化，在当前目录创建PKI目录，用于存储整数&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;./easyrsa build-ca nopass   #2、创建根证书，会提示设置密码，用于ca对之后生成的server和client证书签名时使用，其他提示内容直接回车即可&lt;/span&gt;&lt;/div&gt;&lt;div&gt;#生成/usr/share/easy-rsa/pki/ca.crt文件&lt;/div&gt;&lt;div&gt;3创建服务器证书&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;./easyrsa gen-req server nopass    #3、创建server端证书和私钥文件，nopass表示不加密私钥文件，提示内容直接回车即可&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;#生成/usr/share/easy-rsa/pki/private/server.key 私钥&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;./easyrsa sign server server    #4、给server端证书签名，提示内容需要输入yes和创建ca根证书时候的密码&lt;/span&gt;&lt;/div&gt;&lt;div&gt;#生成&amp;nbsp;/usr/share/easy-rsa/pki/issued/server.crt 文件&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;./easyrsa gen-dh    #5、创建Diffie-Hellman文件，密钥交换时的Diffie-Hellman算法&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;#生成&lt;/span&gt;&lt;span style="color: #595959; font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;"&gt;&lt;span style="font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;/usr/share/easy-rsa/pki/dh.pem文件&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;./easyrsa gen-req client nopass    #6、创建client端的证书和私钥文件，nopass表示不加密私钥文件，提示内容直接回车即可&lt;/span&gt;&lt;/div&gt;&lt;div&gt;#生成/usr/share/easy-rsa/pki/private/client.key文件&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;./easyrsa sign client client    #7、给client端证书前面，提示内容输入yes和创建ca根证书时候的密码&lt;/span&gt;&lt;/div&gt;&lt;div&gt;#生成&amp;nbsp;/usr/share/easy-rsa/pki/issued/client.crt文件&lt;/div&gt;&lt;div&gt;一下是文件结构&lt;/div&gt;&lt;div&gt;&lt;div&gt;root@srv18823:/usr/share/easy-rsa# tree&lt;/div&gt;&lt;div&gt;.&lt;/div&gt;&lt;div&gt;├── easyrsa&lt;/div&gt;&lt;div&gt;├── openssl-easyrsa.cnf&lt;/div&gt;&lt;div&gt;├── pki&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── ca.crt&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;#ca根证书，服务端与客户端都需要用&lt;/span&gt;&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── certs_by_serial&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;│&amp;nbsp; &amp;nbsp;├── 2AD3DC96E6524594003F578D8421C7C4.pem&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;│&amp;nbsp; &amp;nbsp;└── FF031323EAF488595E8F8E26BA8914F1.pem&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── dh.pem&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;#认证算法 服务端&lt;/span&gt;&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── index.txt&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── index.txt.attr&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── index.txt.attr.old&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── index.txt.old&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── issued&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;│&amp;nbsp; &amp;nbsp;├── client.crt&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;#客户端证书&lt;/span&gt;&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;│&amp;nbsp; &amp;nbsp;└── server.crt&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;#服务端证书&lt;/span&gt;&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── openssl-easyrsa.cnf&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── private&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;│&amp;nbsp; &amp;nbsp;├── ca.key&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; #ca私钥&lt;/span&gt;&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;│&amp;nbsp; &amp;nbsp;├── client.key&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;#客户端私钥&lt;/span&gt;&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;│&amp;nbsp; &amp;nbsp;└── server.key&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: #f9f9f9; color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;#服务端私钥&lt;/span&gt;&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── reqs&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;│&amp;nbsp; &amp;nbsp;├── client.req&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;│&amp;nbsp; &amp;nbsp;└── server.req&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── revoked&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;│&amp;nbsp; &amp;nbsp;├── certs_by_serial&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;│&amp;nbsp; &amp;nbsp;├── private_by_serial&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;│&amp;nbsp; &amp;nbsp;└── reqs_by_serial&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── safessl-easyrsa.cnf&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── serial&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;├── serial.old&lt;/div&gt;&lt;div&gt;│&amp;nbsp; &amp;nbsp;└── vars.example&lt;/div&gt;&lt;div&gt;├── vars&lt;/div&gt;&lt;div&gt;├── vars.example&lt;/div&gt;&lt;div&gt;└── x509-types&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; ├── ca&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; ├── client&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; ├── code-signing&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; ├── COMMON&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; ├── email&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; ├── kdc&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; ├── server&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; └── serverClient&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;11 directories, 32 files&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;如以后需要添加用户&lt;/div&gt;&lt;div&gt;直接 ./easyrsa gen-req 开始&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;编辑openvpn服务器配置文件&lt;/div&gt;&lt;div&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/div&gt;&lt;div&gt;&lt;div&gt;#################################################&lt;/div&gt;&lt;div&gt;# Sample OpenVPN 2.0 config file for&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&lt;/div&gt;&lt;div&gt;# multi-client server.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#&lt;/div&gt;&lt;div&gt;# This file is for the server side&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&lt;/div&gt;&lt;div&gt;# of a many-clients &amp;lt;-&amp;gt; one-server&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&lt;/div&gt;&lt;div&gt;# OpenVPN configuration.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#&lt;/div&gt;&lt;div&gt;# OpenVPN also supports&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#&lt;/div&gt;&lt;div&gt;# single-machine &amp;lt;-&amp;gt; single-machine&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#&lt;/div&gt;&lt;div&gt;# configurations (See the Examples page&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#&lt;/div&gt;&lt;div&gt;# on the web site for more info).&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#&lt;/div&gt;&lt;div&gt;# This config should work on Windows&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&lt;/div&gt;&lt;div&gt;# or Linux/BSD systems.&amp;nbsp; Remember on&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&lt;/div&gt;&lt;div&gt;# Windows to quote pathnames and use&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&lt;/div&gt;&lt;div&gt;# double backslashes, e.g.:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#&lt;/div&gt;&lt;div&gt;# "C:\\Program Files\\OpenVPN\\config\\foo.key" #&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#&lt;/div&gt;&lt;div&gt;# Comments are preceded with '#' or ';'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#&lt;/div&gt;&lt;div&gt;#################################################&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Which local IP address should OpenVPN&lt;/div&gt;&lt;div&gt;# listen on? (optional)&lt;/div&gt;&lt;div&gt;;local a.b.c.d&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Which TCP/UDP port should OpenVPN listen on?&lt;/div&gt;&lt;div&gt;# If you want to run multiple OpenVPN instances&lt;/div&gt;&lt;div&gt;# on the same machine, use a different port&lt;/div&gt;&lt;div&gt;# number for each one.&amp;nbsp; You will need to&lt;/div&gt;&lt;div&gt;# open up this port on your firewall.&lt;/div&gt;&lt;div&gt;port 443&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# TCP or UDP server?&lt;/div&gt;&lt;div&gt;proto tcp&lt;/div&gt;&lt;div&gt;;proto udp&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# "dev tun" will create a routed IP tunnel,&lt;/div&gt;&lt;div&gt;# "dev tap" will create an ethernet tunnel.&lt;/div&gt;&lt;div&gt;# Use "dev tap0" if you are ethernet bridging&lt;/div&gt;&lt;div&gt;# and have precreated a tap0 virtual interface&lt;/div&gt;&lt;div&gt;# and bridged it with your ethernet interface.&lt;/div&gt;&lt;div&gt;# If you want to control access policies&lt;/div&gt;&lt;div&gt;# over the VPN, you must create firewall&lt;/div&gt;&lt;div&gt;# rules for the the TUN/TAP interface.&lt;/div&gt;&lt;div&gt;# On non-Windows systems, you can give&lt;/div&gt;&lt;div&gt;# an explicit unit number, such as tun0.&lt;/div&gt;&lt;div&gt;# On Windows, use "dev-node" for this.&lt;/div&gt;&lt;div&gt;# On most systems, the VPN will not function&lt;/div&gt;&lt;div&gt;# unless you partially or fully disable&lt;/div&gt;&lt;div&gt;# the firewall for the TUN/TAP interface.&lt;/div&gt;&lt;div&gt;;dev tap&lt;/div&gt;&lt;div&gt;dev tun&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Windows needs the TAP-Win32 adapter name&lt;/div&gt;&lt;div&gt;# from the Network Connections panel if you&lt;/div&gt;&lt;div&gt;# have more than one.&amp;nbsp; On XP SP2 or higher,&lt;/div&gt;&lt;div&gt;# you may need to selectively disable the&lt;/div&gt;&lt;div&gt;# Windows firewall for the TAP adapter.&lt;/div&gt;&lt;div&gt;# Non-Windows systems usually don't need this.&lt;/div&gt;&lt;div&gt;;dev-node MyTap&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# SSL/TLS root certificate (ca), certificate&lt;/div&gt;&lt;div&gt;# (cert), and private key (key).&amp;nbsp; Each client&lt;/div&gt;&lt;div&gt;# and the server must have their own cert and&lt;/div&gt;&lt;div&gt;# key file.&amp;nbsp; The server and all clients will&lt;/div&gt;&lt;div&gt;# use the same ca file.&lt;/div&gt;&lt;div&gt;#&lt;/div&gt;&lt;div&gt;# See the "easy-rsa" directory for a series&lt;/div&gt;&lt;div&gt;# of scripts for generating RSA certificates&lt;/div&gt;&lt;div&gt;# and private keys.&amp;nbsp; Remember to use&lt;/div&gt;&lt;div&gt;# a unique Common Name for the server&lt;/div&gt;&lt;div&gt;# and each of the client certificates.&lt;/div&gt;&lt;div&gt;#&lt;/div&gt;&lt;div&gt;# Any X509 key management system can be used.&lt;/div&gt;&lt;div&gt;# OpenVPN can also use a PKCS #12 formatted key file&lt;/div&gt;&lt;div&gt;# (see "pkcs12" directive in man page).&lt;/div&gt;&lt;div&gt;ca /usr/share/easy-rsa/pki/ca.crt&lt;/div&gt;&lt;div&gt;cert /usr/share/easy-rsa/pki/issued/server.crt&lt;/div&gt;&lt;div&gt;key /usr/share/easy-rsa/pki/private/client.key&amp;nbsp;&amp;nbsp;# This file should be kept secret&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Diffie hellman parameters.&lt;/div&gt;&lt;div&gt;# Generate your own with:&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp;openssl dhparam -out dh2048.pem 2048&lt;/div&gt;&lt;div&gt;dh&amp;nbsp;&lt;span style="color: #595959; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13px; font-variant-ligatures: contextual; letter-spacing: 0.7px; white-space: pre;"&gt;/usr/share/easy-rsa/pki/dh.pem&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Network topology&lt;/div&gt;&lt;div&gt;# Should be subnet (addressing via IP)&lt;/div&gt;&lt;div&gt;# unless Windows clients v2.0.9 and lower have to&lt;/div&gt;&lt;div&gt;# be supported (then net30, i.e. a /30 per client)&lt;/div&gt;&lt;div&gt;# Defaults to net30 (not recommended)&lt;/div&gt;&lt;div&gt;;topology subnet&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Configure server mode and supply a VPN subnet&lt;/div&gt;&lt;div&gt;# for OpenVPN to draw client addresses from.&lt;/div&gt;&lt;div&gt;# The server will take 10.8.0.1 for itself,&lt;/div&gt;&lt;div&gt;# the rest will be made available to clients.&lt;/div&gt;&lt;div&gt;# Each client will be able to reach the server&lt;/div&gt;&lt;div&gt;# on 10.8.0.1. Comment this line out if you are&lt;/div&gt;&lt;div&gt;# ethernet bridging. See the man page for more info.&lt;/div&gt;&lt;div&gt;server 10.8.0.0 255.255.255.0&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Maintain a record of client &amp;lt;-&amp;gt; virtual IP address&lt;/div&gt;&lt;div&gt;# associations in this file.&amp;nbsp; If OpenVPN goes down or&lt;/div&gt;&lt;div&gt;# is restarted, reconnecting clients can be assigned&lt;/div&gt;&lt;div&gt;# the same virtual IP address from the pool that was&lt;/div&gt;&lt;div&gt;# previously assigned.&lt;/div&gt;&lt;div&gt;ifconfig-pool-persist /var/log/openvpn/ipp.txt&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Configure server mode for ethernet bridging.&lt;/div&gt;&lt;div&gt;# You must first use your OS's bridging capability&lt;/div&gt;&lt;div&gt;# to bridge the TAP interface with the ethernet&lt;/div&gt;&lt;div&gt;# NIC interface.&amp;nbsp; Then you must manually set the&lt;/div&gt;&lt;div&gt;# IP/netmask on the bridge interface, here we&lt;/div&gt;&lt;div&gt;# assume 10.8.0.4/255.255.255.0.&amp;nbsp; Finally we&lt;/div&gt;&lt;div&gt;# must set aside an IP range in this subnet&lt;/div&gt;&lt;div&gt;# (start=10.8.0.50 end=10.8.0.100) to allocate&lt;/div&gt;&lt;div&gt;# to connecting clients.&amp;nbsp; Leave this line commented&lt;/div&gt;&lt;div&gt;# out unless you are ethernet bridging.&lt;/div&gt;&lt;div&gt;;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Configure server mode for ethernet bridging&lt;/div&gt;&lt;div&gt;# using a DHCP-proxy, where clients talk&lt;/div&gt;&lt;div&gt;# to the OpenVPN server-side DHCP server&lt;/div&gt;&lt;div&gt;# to receive their IP address allocation&lt;/div&gt;&lt;div&gt;# and DNS server addresses.&amp;nbsp; You must first use&lt;/div&gt;&lt;div&gt;# your OS's bridging capability to bridge the TAP&lt;/div&gt;&lt;div&gt;# interface with the ethernet NIC interface.&lt;/div&gt;&lt;div&gt;# Note: this mode only works on clients (such as&lt;/div&gt;&lt;div&gt;# Windows), where the client-side TAP adapter is&lt;/div&gt;&lt;div&gt;# bound to a DHCP client.&lt;/div&gt;&lt;div&gt;;server-bridge&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Push routes to the client to allow it&lt;/div&gt;&lt;div&gt;# to reach other private subnets behind&lt;/div&gt;&lt;div&gt;# the server.&amp;nbsp; Remember that these&lt;/div&gt;&lt;div&gt;# private subnets will also need&lt;/div&gt;&lt;div&gt;# to know to route the OpenVPN client&lt;/div&gt;&lt;div&gt;# address pool (10.8.0.0/255.255.255.0)&lt;/div&gt;&lt;div&gt;# back to the OpenVPN server.&lt;/div&gt;&lt;div&gt;;push "route 192.168.10.0 255.255.255.0"&lt;/div&gt;&lt;div&gt;;push "route 192.168.20.0 255.255.255.0"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# To assign specific IP addresses to specific&lt;/div&gt;&lt;div&gt;# clients or if a connecting client has a private&lt;/div&gt;&lt;div&gt;# subnet behind it that should also have VPN access,&lt;/div&gt;&lt;div&gt;# use the subdirectory "ccd" for client-specific&lt;/div&gt;&lt;div&gt;# configuration files (see man page for more info).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# EXAMPLE: Suppose the client&lt;/div&gt;&lt;div&gt;# having the certificate common name "Thelonious"&lt;/div&gt;&lt;div&gt;# also has a small subnet behind his connecting&lt;/div&gt;&lt;div&gt;# machine, such as 192.168.40.128/255.255.255.248.&lt;/div&gt;&lt;div&gt;# First, uncomment out these lines:&lt;/div&gt;&lt;div&gt;;client-config-dir ccd&lt;/div&gt;&lt;div&gt;;route 192.168.40.128 255.255.255.248&lt;/div&gt;&lt;div&gt;# Then create a file ccd/Thelonious with this line:&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp;iroute 192.168.40.128 255.255.255.248&lt;/div&gt;&lt;div&gt;# This will allow Thelonious' private subnet to&lt;/div&gt;&lt;div&gt;# access the VPN.&amp;nbsp; This example will only work&lt;/div&gt;&lt;div&gt;# if you are routing, not bridging, i.e. you are&lt;/div&gt;&lt;div&gt;# using "dev tun" and "server" directives.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# EXAMPLE: Suppose you want to give&lt;/div&gt;&lt;div&gt;# Thelonious a fixed VPN IP address of 10.9.0.1.&lt;/div&gt;&lt;div&gt;# First uncomment out these lines:&lt;/div&gt;&lt;div&gt;;client-config-dir ccd&lt;/div&gt;&lt;div&gt;;route 10.9.0.0 255.255.255.252&lt;/div&gt;&lt;div&gt;# Then add this line to ccd/Thelonious:&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp;ifconfig-push 10.9.0.1 10.9.0.2&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Suppose that you want to enable different&lt;/div&gt;&lt;div&gt;# firewall access policies for different groups&lt;/div&gt;&lt;div&gt;# of clients.&amp;nbsp; There are two methods:&lt;/div&gt;&lt;div&gt;# (1) Run multiple OpenVPN daemons, one for each&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp;group, and firewall the TUN/TAP interface&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp;for each group/daemon appropriately.&lt;/div&gt;&lt;div&gt;# (2) (Advanced) Create a script to dynamically&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp;modify the firewall in response to access&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp;from different clients.&amp;nbsp; See man&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp;page for more info on learn-address script.&lt;/div&gt;&lt;div&gt;;learn-address ./script&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# If enabled, this directive will configure&lt;/div&gt;&lt;div&gt;# all clients to redirect their default&lt;/div&gt;&lt;div&gt;# network gateway through the VPN, causing&lt;/div&gt;&lt;div&gt;# all IP traffic such as web browsing and&lt;/div&gt;&lt;div&gt;# and DNS lookups to go through the VPN&lt;/div&gt;&lt;div&gt;# (The OpenVPN server machine may need to NAT&lt;/div&gt;&lt;div&gt;# or bridge the TUN/TAP interface to the internet&lt;/div&gt;&lt;div&gt;# in order for this to work properly).&lt;/div&gt;&lt;div&gt;#client-config-dir ccd&lt;/div&gt;&lt;div&gt;#route 10.8.0.0 255.255.255.252&lt;/div&gt;&lt;div&gt;#push "route 0.0.0.0 0.0.0.0"&lt;/div&gt;&lt;div&gt;push "redirect-gateway def1 bypass-dhcp"&lt;/div&gt;&lt;div&gt;#push "redirect-gateway def1"&lt;/div&gt;&lt;div&gt;#push "route 10.8.0.0 255.255.224.0"&lt;/div&gt;&lt;div&gt;# Certain Windows-specific network settings&lt;/div&gt;&lt;div&gt;# can be pushed to clients, such as DNS&lt;/div&gt;&lt;div&gt;# or WINS server addresses.&amp;nbsp; CAVEAT:&lt;/div&gt;&lt;div&gt;# http://openvpn.net/faq.html#dhcpcaveats&lt;/div&gt;&lt;div&gt;# The addresses below refer to the public&lt;/div&gt;&lt;div&gt;# DNS servers provided by opendns.com.&lt;/div&gt;&lt;div&gt;push "dhcp-option DNS 1.1.1.1"&lt;/div&gt;&lt;div&gt;push "dhcp-option DNS 8.8.8."&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Uncomment this directive to allow different&lt;/div&gt;&lt;div&gt;# clients to be able to "see" each other.&lt;/div&gt;&lt;div&gt;# By default, clients will only see the server.&lt;/div&gt;&lt;div&gt;# To force clients to only see the server, you&lt;/div&gt;&lt;div&gt;# will also need to appropriately firewall the&lt;/div&gt;&lt;div&gt;# server's TUN/TAP interface.&lt;/div&gt;&lt;div&gt;client-to-client&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Uncomment this directive if multiple clients&lt;/div&gt;&lt;div&gt;# might connect with the same certificate/key&lt;/div&gt;&lt;div&gt;# files or common names.&amp;nbsp; This is recommended&lt;/div&gt;&lt;div&gt;# only for testing purposes.&amp;nbsp; For production use,&lt;/div&gt;&lt;div&gt;# each client should have its own certificate/key&lt;/div&gt;&lt;div&gt;# pair.&lt;/div&gt;&lt;div&gt;#&lt;/div&gt;&lt;div&gt;# IF YOU HAVE NOT GENERATED INDIVIDUAL&lt;/div&gt;&lt;div&gt;# CERTIFICATE/KEY PAIRS FOR EACH CLIENT,&lt;/div&gt;&lt;div&gt;# EACH HAVING ITS OWN UNIQUE "COMMON NAME",&lt;/div&gt;&lt;div&gt;# UNCOMMENT THIS LINE OUT.&lt;/div&gt;&lt;div&gt;duplicate-cn&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# The keepalive directive causes ping-like&lt;/div&gt;&lt;div&gt;# messages to be sent back and forth over&lt;/div&gt;&lt;div&gt;# the link so that each side knows when&lt;/div&gt;&lt;div&gt;# the other side has gone down.&lt;/div&gt;&lt;div&gt;# Ping every 10 seconds, assume that remote&lt;/div&gt;&lt;div&gt;# peer is down if no ping received during&lt;/div&gt;&lt;div&gt;# a 120 second time period.&lt;/div&gt;&lt;div&gt;#keepalive 5 30&lt;/div&gt;&lt;div&gt;keepalive 7 15&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# For extra security beyond that provided&lt;/div&gt;&lt;div&gt;# by SSL/TLS, create an "HMAC firewall"&lt;/div&gt;&lt;div&gt;# to help block DoS attacks and UDP port flooding.&lt;/div&gt;&lt;div&gt;#&lt;/div&gt;&lt;div&gt;# Generate with:&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp;openvpn --genkey --secret ta.key&lt;/div&gt;&lt;div&gt;#&lt;/div&gt;&lt;div&gt;# The server and each client must have&lt;/div&gt;&lt;div&gt;# a copy of this key.&lt;/div&gt;&lt;div&gt;# The second parameter should be '0'&lt;/div&gt;&lt;div&gt;# on the server and '1' on the clients.&lt;/div&gt;&lt;div&gt;;tls-auth ta.key 0 # This file is secret&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Select a cryptographic cipher.&lt;/div&gt;&lt;div&gt;# This config item must be copied to&lt;/div&gt;&lt;div&gt;# the client config file as well.&lt;/div&gt;&lt;div&gt;# Note that v2.4 client/server will automatically&lt;/div&gt;&lt;div&gt;# negotiate AES-256-GCM in TLS mode.&lt;/div&gt;&lt;div&gt;# See also the ncp-cipher option in the manpage&lt;/div&gt;&lt;div&gt;cipher AES-256-CBC&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Enable compression on the VPN link and push the&lt;/div&gt;&lt;div&gt;# option to the client (v2.4+ only, for earlier&lt;/div&gt;&lt;div&gt;# versions see below)&lt;/div&gt;&lt;div&gt;;compress lz4-v2&lt;/div&gt;&lt;div&gt;;push "compress lz4-v2"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# For compression compatible with older clients use comp-lzo&lt;/div&gt;&lt;div&gt;# If you enable it here, you must also&lt;/div&gt;&lt;div&gt;# enable it in the client config file.&lt;/div&gt;&lt;div&gt;comp-lzo&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# The maximum number of concurrently connected&lt;/div&gt;&lt;div&gt;# clients we want to allow.&lt;/div&gt;&lt;div&gt;;max-clients 100&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# It's a good idea to reduce the OpenVPN&lt;/div&gt;&lt;div&gt;# daemon's privileges after initialization.&lt;/div&gt;&lt;div&gt;#&lt;/div&gt;&lt;div&gt;# You can uncomment this out on&lt;/div&gt;&lt;div&gt;# non-Windows systems.&lt;/div&gt;&lt;div&gt;user nobody&lt;/div&gt;&lt;div&gt;group nogroup&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# The persist options will try to avoid&lt;/div&gt;&lt;div&gt;# accessing certain resources on restart&lt;/div&gt;&lt;div&gt;# that may no longer be accessible because&lt;/div&gt;&lt;div&gt;# of the privilege downgrade.&lt;/div&gt;&lt;div&gt;persist-key&lt;/div&gt;&lt;div&gt;persist-tun&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Output a short status file showing&lt;/div&gt;&lt;div&gt;# current connections, truncated&lt;/div&gt;&lt;div&gt;# and rewritten every minute.&lt;/div&gt;&lt;div&gt;status /var/log/openvpn/openvpn-status.log&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# By default, log messages will go to the syslog (or&lt;/div&gt;&lt;div&gt;# on Windows, if running as a service, they will go to&lt;/div&gt;&lt;div&gt;# the "\Program Files\OpenVPN\log" directory).&lt;/div&gt;&lt;div&gt;# Use log or log-append to override this default.&lt;/div&gt;&lt;div&gt;# "log" will truncate the log file on OpenVPN startup,&lt;/div&gt;&lt;div&gt;# while "log-append" will append to it.&amp;nbsp; Use one&lt;/div&gt;&lt;div&gt;# or the other (but not both).&lt;/div&gt;&lt;div&gt;log&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/var/log/openvpn/openvpn.log&lt;/div&gt;&lt;div&gt;;log-append&amp;nbsp; /var/log/openvpn/openvpn.log&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Set the appropriate level of log&lt;/div&gt;&lt;div&gt;# file verbosity.&lt;/div&gt;&lt;div&gt;#&lt;/div&gt;&lt;div&gt;# 0 is silent, except for fatal errors&lt;/div&gt;&lt;div&gt;# 4 is reasonable for general usage&lt;/div&gt;&lt;div&gt;# 5 and 6 can help to debug connection problems&lt;/div&gt;&lt;div&gt;# 9 is extremely verbose&lt;/div&gt;&lt;div&gt;verb 3&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Silence repeating messages.&amp;nbsp; At most 20&lt;/div&gt;&lt;div&gt;# sequential messages of the same message&lt;/div&gt;&lt;div&gt;# category will be output to the log.&lt;/div&gt;&lt;div&gt;;mute 20&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Notify the client that when the server restarts so it&lt;/div&gt;&lt;div&gt;# can automatically reconnect.&lt;/div&gt;&lt;div&gt;;explicit-exit-notify 1&lt;/div&gt;&lt;/div&gt;&lt;div&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/div&gt;&lt;div&gt;开启内核转发&lt;/div&gt;&lt;div&gt;echo "net.ipv4.ip_forward = 1" &amp;gt;&amp;gt;/etc/sysctl.conf&lt;/div&gt;&lt;div&gt;sysctl -p&lt;/div&gt;&lt;div&gt;iptables-t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE # 设置nat 转发&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;编辑openvpn客户端&lt;/div&gt;&lt;div&gt;红色是要修改的文件内容&lt;/div&gt;&lt;div&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/div&gt;&lt;div&gt;&lt;div&gt;##############################################&lt;/div&gt;&lt;div&gt;# Sample client-side OpenVPN 2.0 config file #&lt;/div&gt;&lt;div&gt;# for connecting to multi-client server.&amp;nbsp; &amp;nbsp; &amp;nbsp;#&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&lt;/div&gt;&lt;div&gt;# This configuration can be used by multiple #&lt;/div&gt;&lt;div&gt;# clients, however each client should have&amp;nbsp; &amp;nbsp;#&lt;/div&gt;&lt;div&gt;# its own cert and key files.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&lt;/div&gt;&lt;div&gt;# On Windows, you might want to rename this&amp;nbsp; #&lt;/div&gt;&lt;div&gt;# file so it has a .ovpn extension&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#&lt;/div&gt;&lt;div&gt;##############################################&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Specify that we are a client and that we&lt;/div&gt;&lt;div&gt;# will be pulling certain config file directives&lt;/div&gt;&lt;div&gt;# from the server.&lt;/div&gt;&lt;div&gt;client&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Use the same setting as you are using on&lt;/div&gt;&lt;div&gt;# the server.&lt;/div&gt;&lt;div&gt;# On most systems, the VPN will not function&lt;/div&gt;&lt;div&gt;# unless you partially or fully disable&lt;/div&gt;&lt;div&gt;# the firewall for the TUN/TAP interface.&lt;/div&gt;&lt;div&gt;;dev tap&lt;/div&gt;&lt;div&gt;dev tun&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Windows needs the TAP-Win32 adapter name&lt;/div&gt;&lt;div&gt;# from the Network Connections panel&lt;/div&gt;&lt;div&gt;# if you have more than one.&amp;nbsp; On XP SP2,&lt;/div&gt;&lt;div&gt;# you may need to disable the firewall&lt;/div&gt;&lt;div&gt;# for the TAP adapter.&lt;/div&gt;&lt;div&gt;;dev-node MyTap&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Are we connecting to a TCP or&lt;/div&gt;&lt;div&gt;# UDP server?&amp;nbsp; Use the same setting as&lt;/div&gt;&lt;div&gt;# on the server.&lt;/div&gt;&lt;div&gt;proto tcp&lt;/div&gt;&lt;div&gt;;proto udp&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# The hostname/IP and port of the server.&lt;/div&gt;&lt;div&gt;# You can have multiple remote entries&lt;/div&gt;&lt;div&gt;# to load balance between the servers.&lt;/div&gt;&lt;div&gt;remote 127.0.0.1 443&lt;/div&gt;&lt;div&gt;;remote my-server-2 1194&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Choose a random host from the remote&lt;/div&gt;&lt;div&gt;# list for load-balancing.&amp;nbsp; Otherwise&lt;/div&gt;&lt;div&gt;# try hosts in the order specified.&lt;/div&gt;&lt;div&gt;;remote-random&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Keep trying indefinitely to resolve the&lt;/div&gt;&lt;div&gt;# host name of the OpenVPN server.&amp;nbsp; Very useful&lt;/div&gt;&lt;div&gt;# on machines which are not permanently connected&lt;/div&gt;&lt;div&gt;# to the internet such as laptops.&lt;/div&gt;&lt;div&gt;resolv-retry infinite&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Most clients don't need to bind to&lt;/div&gt;&lt;div&gt;# a specific local port number.&lt;/div&gt;&lt;div&gt;nobind&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Downgrade privileges after initialization (non-Windows only)&lt;/div&gt;&lt;div&gt;;user nobody&lt;/div&gt;&lt;div&gt;;group nogroup&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Try to preserve some state across restarts.&lt;/div&gt;&lt;div&gt;persist-key&lt;/div&gt;&lt;div&gt;persist-tun&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# If you are connecting through an&lt;/div&gt;&lt;div&gt;# HTTP proxy to reach the actual OpenVPN&lt;/div&gt;&lt;div&gt;# server, put the proxy server/IP and&lt;/div&gt;&lt;div&gt;# port number here.&amp;nbsp; See the man page&lt;/div&gt;&lt;div&gt;# if your proxy server requires&lt;/div&gt;&lt;div&gt;# authentication.&lt;/div&gt;&lt;div&gt;;http-proxy-retry # retry on connection failures&lt;/div&gt;&lt;div&gt;;http-proxy [proxy server] [proxy port #]&lt;/div&gt;&lt;div&gt;http-proxy-retry # retry on connection failures&lt;/div&gt;&lt;div&gt;http-proxy &lt;span style="color: red;"&gt;srv18823.blue.kundencontroller.de&lt;/span&gt; 8080&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Wireless networks often produce a lot&lt;/div&gt;&lt;div&gt;# of duplicate packets.&amp;nbsp; Set this flag&lt;/div&gt;&lt;div&gt;# to silence duplicate packet warnings.&lt;/div&gt;&lt;div&gt;;mute-replay-warnings&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# SSL/TLS parms.&lt;/div&gt;&lt;div&gt;# See the server config file for more&lt;/div&gt;&lt;div&gt;# description.&amp;nbsp; It's best to use&lt;/div&gt;&lt;div&gt;# a separate .crt/.key file pair&lt;/div&gt;&lt;div&gt;# for each client.&amp;nbsp; A single ca&lt;/div&gt;&lt;div&gt;# file can be used for all clients.&lt;/div&gt;&lt;div&gt;;ca ca.crt&lt;/div&gt;&lt;div&gt;;cert client.crt&lt;/div&gt;&lt;div&gt;;key client.key&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Verify server certificate by checking that the&lt;/div&gt;&lt;div&gt;# certicate has the correct key usage set.&lt;/div&gt;&lt;div&gt;# This is an important precaution to protect against&lt;/div&gt;&lt;div&gt;# a potential attack discussed here:&lt;/div&gt;&lt;div&gt;#&amp;nbsp; http://openvpn.net/howto.html#mitm&lt;/div&gt;&lt;div&gt;#&lt;/div&gt;&lt;div&gt;# To use this feature, you will need to generate&lt;/div&gt;&lt;div&gt;# your server certificates with the keyUsage set to&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp;digitalSignature, keyEncipherment&lt;/div&gt;&lt;div&gt;# and the extendedKeyUsage to&lt;/div&gt;&lt;div&gt;#&amp;nbsp; &amp;nbsp;serverAuth&lt;/div&gt;&lt;div&gt;# EasyRSA can do this for you.&lt;/div&gt;&lt;div&gt;remote-cert-tls server&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# If a tls-auth key is used on the server&lt;/div&gt;&lt;div&gt;# then every client must also have the key.&lt;/div&gt;&lt;div&gt;;tls-auth ta.key 1&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Select a cryptographic cipher.&lt;/div&gt;&lt;div&gt;# If the cipher option is used on the server&lt;/div&gt;&lt;div&gt;# then you must also specify it here.&lt;/div&gt;&lt;div&gt;# Note that v2.4 client/server will automatically&lt;/div&gt;&lt;div&gt;# negotiate AES-256-GCM in TLS mode.&lt;/div&gt;&lt;div&gt;# See also the ncp-cipher option in the manpage&lt;/div&gt;&lt;div&gt;cipher AES-256-CBC&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Enable compression on the VPN link.&lt;/div&gt;&lt;div&gt;# Don't enable this unless it is also&lt;/div&gt;&lt;div&gt;# enabled in the server config file.&lt;/div&gt;&lt;div&gt;comp-lzo&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Set log file verbosity.&lt;/div&gt;&lt;div&gt;verb 3&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# Silence repeating messages&lt;/div&gt;&lt;div&gt;;mute 20&lt;/div&gt;&lt;div&gt;&amp;lt;ca&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: red;"&gt;-----BEGIN CERTIFICATE-----&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: red;"&gt;ca.crt文件内容&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: red;"&gt;-----END CERTIFICATE-----&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/ca&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;cert&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: red;"&gt;-----BEGIN CERTIFICATE-----&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: red;"&gt;client.crt 文件内容&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: red;"&gt;-----END CERTIFICATE-----&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/cert&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;key&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: red;"&gt;-----BEGIN PRIVATE KEY-----&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: red;"&gt;client.key文件内容&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: red;"&gt;-----END PRIVATE KEY-----&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/key&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/div&gt;&lt;div&gt;配置squid文件&lt;/div&gt;&lt;div&gt;&amp;nbsp;cd /etc/squid/&lt;/div&gt;&lt;div&gt;vi ./squid.conf&amp;nbsp; #打开squid配置文件并修改3128为8080&lt;/div&gt;&lt;div&gt;vi&amp;nbsp; ./conf.d/debian.conf #打开文件并在写入下面代码，红色是自己的服务器IP地址&lt;/div&gt;&lt;div&gt;~~~~~~~~~~~~~~~~~~~&lt;/div&gt;&lt;div&gt;&lt;div&gt;acl okip dst &lt;span style="color: red;"&gt;140.238.32.146&lt;/span&gt; 127.0.0.1&lt;/div&gt;&lt;div&gt;http_access allow okip&lt;/div&gt;&lt;/div&gt;&lt;div&gt;~~~~~~~~~~~~~~~~~~~&lt;/div&gt;&lt;div&gt;启动squid&lt;/div&gt;&lt;div&gt;systemctl start squid&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link href="http://hdp5252.blogspot.com/feeds/8587800727741751882/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2024/07/euservopenvpn.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/8587800727741751882" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/8587800727741751882" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2024/07/euservopenvpn.html" rel="alternate" title="euserv安装openvpn" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-8283569838763313504</id><published>2022-09-24T17:12:00.001+08:00</published><updated>2022-09-24T17:12:51.009+08:00</updated><title type="text">euserv访问ipv4</title><content type="html">&lt;div dir="auto"&gt;vi /etc/resolv.conf&lt;div dir="auto"&gt;添加下面代码&lt;br&gt;&lt;div dir="auto"&gt;&lt;ol style="margin:0px 0px 0px 40px;padding:0px;list-style:none;color:rgb(68,68,68);font-family:consolas,&amp;quot;bitstream vera sans mono&amp;quot;,&amp;quot;courier new&amp;quot;,courier,monospace;font-size:14px;white-space:pre-wrap"&gt;&lt;li style="line-height:1.25rem;margin-left:0px;padding-left:6px;color:rgb(190,190,197);list-style:decimal"&gt;&lt;span style="color:rgb(0,0,255)"&gt;nameserver &lt;/span&gt;&lt;span style="color:rgb(204,0,204)"&gt;2a03&lt;/span&gt;&lt;span style="color:rgb(0,170,0)"&gt;:&lt;/span&gt;&lt;span style="color:rgb(204,0,204)"&gt;7900&lt;/span&gt;&lt;span style="color:rgb(0,170,0)"&gt;:&lt;/span&gt;&lt;span style="color:rgb(204,0,204)"&gt;2&lt;/span&gt;&lt;span style="color:rgb(0,170,0)"&gt;:&lt;/span&gt;&lt;span style="color:rgb(204,0,204)"&gt;0&lt;/span&gt;&lt;span style="color:rgb(0,170,0)"&gt;:&lt;/span&gt;&lt;span style="color:rgb(204,0,204)"&gt;31&lt;/span&gt;&lt;span style="color:rgb(0,170,0)"&gt;:&lt;/span&gt;&lt;span style="color:rgb(204,0,204)"&gt;3&lt;/span&gt;&lt;span style="color:rgb(0,170,0)"&gt;:&lt;/span&gt;&lt;span style="color:rgb(204,0,204)"&gt;104&lt;/span&gt;&lt;span style="color:rgb(0,170,0)"&gt;:&lt;/span&gt;&lt;span style="color:rgb(204,0,204)"&gt;161&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div dir="auto"&gt;&lt;font color="#cc00cc" face="consolas, bitstream vera sans mono, courier new, courier, monospace"&gt;&lt;span style="font-size:14px;white-space:pre-wrap"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div dir="auto"&gt;&lt;font color="#cc00cc" face="consolas, bitstream vera sans mono, courier new, courier, monospace"&gt;&lt;span style="font-size:14px;white-space:pre-wrap"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div dir="auto"&gt;&lt;font color="#cc00cc" face="consolas, bitstream vera sans mono, courier new, courier, monospace"&gt;&lt;span style="font-size:14px;white-space:pre-wrap"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  </content><link href="http://hdp5252.blogspot.com/feeds/8283569838763313504/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2022/09/euservipv4.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/8283569838763313504" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/8283569838763313504" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2022/09/euservipv4.html" rel="alternate" title="euserv访问ipv4" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-7051744553398783604</id><published>2022-08-11T17:38:00.003+08:00</published><updated>2022-08-11T17:38:36.913+08:00</updated><title type="text">vps 安装aria2配置文件备份</title><content type="html">&lt;div&gt;&lt;div&gt;# touch /data/aria2.session&lt;/div&gt;&lt;div&gt;# vim /etc/aria2/aria2.conf&lt;/div&gt;&lt;div&gt;## '#'开头为注释内容, 选项都有相应的注释说明, 根据需要修改 ##&lt;/div&gt;&lt;div&gt;## 被注释的选项填写的是默认值, 建议在需要修改时再取消注释&amp;nbsp; ##&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;## 文件保存相关 ##&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# 文件的保存路径(可使用绝对路径或相对路径), 默认: 当前启动位置&lt;/div&gt;&lt;div&gt;dir=/home/ubuntu/download&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# 启用磁盘缓存, 0为禁用缓存, 需1.16以上版本, 默认:16M&lt;/div&gt;&lt;div&gt;#disk-cache=32M&lt;/div&gt;&lt;div&gt;#disk-cache=32M&lt;/div&gt;&lt;div&gt;# 文件预分配方式, 能有效降低磁盘碎片, 默认:prealloc&lt;/div&gt;&lt;div&gt;# 预分配所需时间: none &amp;lt; falloc ? trunc &amp;lt; prealloc&lt;/div&gt;&lt;div&gt;# falloc和trunc则需要文件系统和内核支持&lt;/div&gt;&lt;div&gt;# NTFS建议使用falloc, EXT3/4建议trunc, MAC 下需要注释此项&lt;/div&gt;&lt;div&gt;file-allocation=prealloc&lt;/div&gt;&lt;div&gt;# 断点续传&lt;/div&gt;&lt;div&gt;continue=true&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;## 下载连接相关 ##&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# 最大同时下载任务数, 运行时可修改, 默认:5&lt;/div&gt;&lt;div&gt;max-concurrent-downloads=10&lt;/div&gt;&lt;div&gt;# 同一服务器连接数, 添加时可指定, 默认:1&lt;/div&gt;&lt;div&gt;max-connection-per-server=10&lt;/div&gt;&lt;div&gt;# 最小文件分片大小, 添加时可指定, 取值范围1M -1024M, 默认:20M&lt;/div&gt;&lt;div&gt;# 假定size=10M, 文件为20MiB 则使用两个来源下载; 文件为15MiB 则使用一个来源下载&lt;/div&gt;&lt;div&gt;min-split-size=10M&lt;/div&gt;&lt;div&gt;# 单个任务最大线程数, 添加时可指定, 默认:5&lt;/div&gt;&lt;div&gt;split=5&lt;/div&gt;&lt;div&gt;# 整体下载速度限制, 运行时可修改, 默认:0&lt;/div&gt;&lt;div&gt;#max-overall-download-limit=0&lt;/div&gt;&lt;div&gt;# 单个任务下载速度限制, 默认:0&lt;/div&gt;&lt;div&gt;#max-download-limit=0&lt;/div&gt;&lt;div&gt;# 整体上传速度限制, 运行时可修改, 默认:0&lt;/div&gt;&lt;div&gt;max-overall-upload-limit=1k&lt;/div&gt;&lt;div&gt;# 单个任务上传速度限制, 默认:0&lt;/div&gt;&lt;div&gt;max-upload-limit=1k&lt;/div&gt;&lt;div&gt;# 禁用IPv6, 默认:false&lt;/div&gt;&lt;div&gt;disable-ipv6=true&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;## 进度保存相关 ##&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# 从会话文件中读取下载任务&lt;/div&gt;&lt;div&gt;input-file=/home/ubuntu/aria2/aria2.session&lt;/div&gt;&lt;div&gt;# 在Aria2退出时保存`错误/未完成`的下载任务到会话文件&lt;/div&gt;&lt;div&gt;save-session=/home/ubuntu/aria2/aria2.session&lt;/div&gt;&lt;div&gt;# 定时保存会话, 0为退出时才保存, 需1.16.1以上版本, 默认:0&lt;/div&gt;&lt;div&gt;save-session-interval=60&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;## RPC相关设置 ##&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;enable-rpc=true&lt;/div&gt;&lt;div&gt;pause=false&lt;/div&gt;&lt;div&gt;rpc-allow-origin-all=true&lt;/div&gt;&lt;div&gt;rpc-listen-all=true&lt;/div&gt;&lt;div&gt;rpc-save-upload-metadata=true&lt;/div&gt;&lt;div&gt;rpc-secure=false&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# 启用RPC, 默认:false&lt;/div&gt;&lt;div&gt;#enable-rpc=true&lt;/div&gt;&lt;div&gt;# 允许所有来源, 默认:false&lt;/div&gt;&lt;div&gt;#rpc-allow-origin-all=true&lt;/div&gt;&lt;div&gt;# 允许非外部访问, 默认:false&lt;/div&gt;&lt;div&gt;#rpc-listen-all=true&lt;/div&gt;&lt;div&gt;# 事件轮询方式, 取值:[epoll, kqueue, port, poll, select], 不同系统默认值不同&lt;/div&gt;&lt;div&gt;#event-poll=select&lt;/div&gt;&lt;div&gt;# RPC监听端口, 端口被占用时可以修改, 默认:6800&lt;/div&gt;&lt;div&gt;rpc-listen-port=6800&lt;/div&gt;&lt;div&gt;# 设置的RPC授权令牌, v1.18.4新增功能, 取代 --rpc-user 和 --rpc-passwd 选项&lt;/div&gt;&lt;div&gt;#rpc-secure=17945&lt;/div&gt;&lt;div&gt;# 设置的RPC访问用户名, 此选项新版已废弃, 建议改用 --rpc-secret 选项&lt;/div&gt;&lt;div&gt;#rpc-user=&amp;lt;USER&amp;gt;&lt;/div&gt;&lt;div&gt;# 设置的RPC访问密码, 此选项新版已废弃, 建议改用 --rpc-secret 选项&lt;/div&gt;&lt;div&gt;#rpc-passwd=&amp;lt;PASSWD&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;## BT/PT下载相关 ##&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# 当下载的是一个种子(以.torrent结尾)时, 自动开始BT任务, 默认:true&lt;/div&gt;&lt;div&gt;#follow-torrent=true&lt;/div&gt;&lt;div&gt;# BT监听端口, 当端口被屏蔽时使用, 默认:6881-6999&lt;/div&gt;&lt;div&gt;listen-port=51413&lt;/div&gt;&lt;div&gt;# 单个种子最大连接数, 默认:55&lt;/div&gt;&lt;div&gt;#bt-max-peers=55&lt;/div&gt;&lt;div&gt;# 打开DHT功能, PT需要禁用, 默认:true&lt;/div&gt;&lt;div&gt;enable-dht=true&lt;/div&gt;&lt;div&gt;# 打开IPv6 DHT功能, PT需要禁用&lt;/div&gt;&lt;div&gt;#enable-dht6=false&lt;/div&gt;&lt;div&gt;# DHT网络监听端口, 默认:6881-6999&lt;/div&gt;&lt;div&gt;#dht-listen-port=6881-6999&lt;/div&gt;&lt;div&gt;# 本地节点查找, PT需要禁用, 默认:false&lt;/div&gt;&lt;div&gt;bt-enable-lpd=true&lt;/div&gt;&lt;div&gt;# 种子交换, PT需要禁用, 默认:true&lt;/div&gt;&lt;div&gt;enable-peer-exchange=false&lt;/div&gt;&lt;div&gt;# 每个种子限速, 对少种的PT很有用, 默认:50K&lt;/div&gt;&lt;div&gt;#bt-request-peer-speed-limit=50K&lt;/div&gt;&lt;div&gt;# 客户端伪装, PT需要&lt;/div&gt;&lt;div&gt;#peer-id-prefix=-TR2770-&lt;/div&gt;&lt;div&gt;user-agent=Transmission/2.92&lt;/div&gt;&lt;div&gt;#user-agent=netdisk;4.4.0.6;PC;PC-Windows;6.2.9200;WindowsBaiduYunGuanJia&lt;/div&gt;&lt;div&gt;# 当种子的分享率达到这个数时, 自动停止做种, 0为一直做种, 默认:1.0&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;seed-ratio=0.2&lt;/div&gt;&lt;div&gt;#作种时间大于30分钟，则停止作种&lt;/div&gt;&lt;div&gt;seed-time=3&lt;/div&gt;&lt;div&gt;# 强制保存会话, 话即使任务已经完成, 默认:false&lt;/div&gt;&lt;div&gt;# 较新的版本开启后会在任务完成后依然保留.aria2文件&lt;/div&gt;&lt;div&gt;#force-save=false&lt;/div&gt;&lt;div&gt;# BT校验相关, 默认:true&lt;/div&gt;&lt;div&gt;#bt-hash-check-seed=true&lt;/div&gt;&lt;div&gt;# 继续之前的BT任务时, 无需再次校验, 默认:false&lt;/div&gt;&lt;div&gt;bt-seed-unverified=true&lt;/div&gt;&lt;div&gt;# 保存磁力链接元数据为种子文件(.torrent文件), 默认:false&lt;/div&gt;&lt;div&gt;bt-save-metadata=true&lt;/div&gt;&lt;div&gt;#下载完成后删除.ara2的同名文件&lt;/div&gt;&lt;div&gt;on-download-complete=/home/ubuntu/aria2/delete_aria2&lt;/div&gt;&lt;div&gt;#on-download-complete=/home/ubuntu/aria2/rasp.sh&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;

您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/7051744553398783604/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2022/08/vps-aria2.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/7051744553398783604" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/7051744553398783604" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2022/08/vps-aria2.html" rel="alternate" title="vps 安装aria2配置文件备份" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-5483160721840928114</id><published>2021-12-27T20:52:00.001+08:00</published><updated>2021-12-27T20:54:27.112+08:00</updated><title type="text">Oracle Ubuntu ipv6 arm</title><content type="html">&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;p style="background-color: white; box-sizing: border-box; color: #555555; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; margin: 0px 0px 20px; overflow-wrap: break-word;"&gt;编辑以下文件：&lt;/p&gt;&lt;p style="background-color: white; box-sizing: border-box; color: #555555; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; margin: 0px 0px 20px; overflow-wrap: break-word;"&gt;sudo vim /etc/netplan/50-cloud-init.yaml&lt;br style="box-sizing: border-box;" /&gt;添加 adreesses 配置&lt;/p&gt;&lt;p style="background-color: white; box-sizing: border-box; color: #555555; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; margin: 0px 0px 20px; overflow-wrap: break-word;"&gt;然后执行命令: sudo netplan apply&lt;/p&gt;&lt;p style="background-color: white; box-sizing: border-box; color: #555555; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; margin: 0px 0px 20px; overflow-wrap: break-word;"&gt;我的文件如下：&lt;/p&gt;&lt;p style="background-color: white; box-sizing: border-box; color: #555555; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; margin: 0px 0px 20px; overflow-wrap: break-word;"&gt;network:&lt;br style="box-sizing: border-box;" /&gt;&amp;nbsp; &amp;nbsp; ethernets:&lt;br style="box-sizing: border-box;" /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;enp0s3:&lt;br style="box-sizing: border-box;" /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;dhcp4: true&lt;br style="box-sizing: border-box;" /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;dhcp6: false&lt;br style="box-sizing: border-box;" /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;match:&lt;br style="box-sizing: border-box;" /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; macaddress: 02:00:17:01:51:e9&lt;br style="box-sizing: border-box;" /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;addresses:&lt;br style="box-sizing: border-box;" /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;– 2603:c022:8000:ab00:7db4:c28f:xxxx/128 #&amp;nbsp;&amp;nbsp;具体地址去甲骨文后台查看&lt;br style="box-sizing: border-box;" /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;set-name: enp0s3&lt;br style="box-sizing: border-box;" /&gt;&amp;nbsp; &amp;nbsp; version: 2&lt;br style="box-sizing: border-box;" /&gt;解决了&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;

您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/5483160721840928114/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2021/12/oracle-ubuntu-ipv6-arm.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/5483160721840928114" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/5483160721840928114" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2021/12/oracle-ubuntu-ipv6-arm.html" rel="alternate" title="Oracle Ubuntu ipv6 arm" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-3615701227765782003</id><published>2021-02-11T21:26:00.002+08:00</published><updated>2021-02-11T21:26:52.844+08:00</updated><title type="text">FreeBSD12.1更换pkg，portsnap，ports，update源</title><content type="html">&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXrcyBtiwIz3G4F7ErRNvzU-7Ur9v2zNNkH1xyr_vbakb4VoclKiXduM4Gy_9xnJ4MmsLkepGOAIHYrw_K95UJtaMZRMq62Pa5Nv2GcZRIylvMFtW4kxRz-BFLrQ_FU51_IH9u9eQ-hh58/s4872/Screenshot_20210211-211417_Chrome.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" data-original-height="4872" data-original-width="645" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXrcyBtiwIz3G4F7ErRNvzU-7Ur9v2zNNkH1xyr_vbakb4VoclKiXduM4Gy_9xnJ4MmsLkepGOAIHYrw_K95UJtaMZRMq62Pa5Nv2GcZRIylvMFtW4kxRz-BFLrQ_FU51_IH9u9eQ-hh58/s16000/Screenshot_20210211-211417_Chrome.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;

您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/3615701227765782003/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2021/02/freebsd121pkgportsnapportsupdate_11.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/3615701227765782003" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/3615701227765782003" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2021/02/freebsd121pkgportsnapportsupdate_11.html" rel="alternate" title="FreeBSD12.1更换pkg，portsnap，ports，update源" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXrcyBtiwIz3G4F7ErRNvzU-7Ur9v2zNNkH1xyr_vbakb4VoclKiXduM4Gy_9xnJ4MmsLkepGOAIHYrw_K95UJtaMZRMq62Pa5Nv2GcZRIylvMFtW4kxRz-BFLrQ_FU51_IH9u9eQ-hh58/s72-c/Screenshot_20210211-211417_Chrome.jpg" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-8923456978258002983</id><published>2016-10-20T08:42:00.004+08:00</published><updated>2016-10-20T08:42:53.137+08:00</updated><title type="text">debian 禁用默认服务</title><content type="html">&lt;br /&gt;
debian默认启动很多服务，有时占时用不到占用内存，现在我们用两条命令来对它进行修改&lt;br /&gt;
1查询启动的服务 &lt;span style="color: red;"&gt;service --status-all&lt;/span&gt;&lt;br /&gt;
2修改默认启动服务&lt;span style="color: red;"&gt;update-rc.d&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
用server --status-all查询时&lt;b&gt; +表示正在运行，-表示没有运行，?表示不详（？）&lt;/b&gt;，可能是不支持用status查询状态。&lt;br /&gt;
查询到默认启动的服务名称时用update-rc.d来进行修改，用法也很简单 update-rc.d name enable|disable [s|2|3|4|5]&lt;br /&gt;
&lt;br /&gt;</content><link href="http://hdp5252.blogspot.com/feeds/8923456978258002983/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2016/10/debian.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/8923456978258002983" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/8923456978258002983" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2016/10/debian.html" rel="alternate" title="debian 禁用默认服务" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-2177010192540631253</id><published>2016-07-06T06:05:00.000+08:00</published><updated>2016-07-07T18:24:00.946+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="oepnvpn"/><category scheme="http://www.blogger.com/atom/ns#" term="openvpn for android"/><category scheme="http://www.blogger.com/atom/ns#" term="squid3"/><category scheme="http://www.blogger.com/atom/ns#" term="免流"/><title type="text">openvpn云免流之debian系统搭建全能云免服务器</title><content type="html">免流所需要的设备 可以搭openvpn的vps一台 android iphone的手机&lt;br /&gt;
vps系统是debian vps先更改时区dpkg-reconfigure tzdata&lt;br /&gt;
&lt;br /&gt;
1 安装软件 &lt;span style="color: red;"&gt;apt-get update&amp;amp;&amp;amp;apt-get dist-upgrade&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&amp;amp;&amp;amp;apt-get install openvpn squid3&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
2&amp;nbsp;用easy-rsa生成服务端证书&lt;br /&gt;
&lt;span style="color: red;"&gt;cp -r /usr/share/easy-rsa/ /etc/openvpn/&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style="color: red;"&gt;cd /etc/openvpn/easy-rsa/2.0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="color: red;"&gt;source vars&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="color: red;"&gt;./clean-all&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="color: red;"&gt;./build-ca&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
3 生成服务器证书和密钥&lt;/div&gt;
&lt;div&gt;
./build-key-server server #server服务器名称&lt;/div&gt;
&lt;div&gt;
期间也会提示输入一些信息，直接回车默认，选择[Y/n]的都选Y。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4 生成客户端证书和密钥：（client为客户端名字可以自定义，注意这里的客户端名字不能与上步的服务端名字相同）&lt;/div&gt;
&lt;div&gt;
./build-key client&lt;/div&gt;
&lt;div&gt;
期间也会提示输入一些信息，直接回车默认，选择[Y/n]的都选Y。 若要生成多个客户端的证书和密钥，将client改成另外的名字重复操作即可。所有生成的证书和密钥存都放在/etc/openvpn/easy-rsa/2.0/keys/下面。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
5 生成Diffie Hellman参数：&lt;/div&gt;
&lt;div&gt;
./build-dh&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
6 配置openvpn 服务器密钥&lt;br /&gt;
把2 3 生成的文件复制到 /etc/openvpn下&lt;br /&gt;
cd&amp;nbsp;/etc/openvpn/easy-rsa/keys/&lt;br /&gt;
cp ca.crt dh2048.pem server.crt server.key /etc/openvpn/&lt;br /&gt;
&lt;br /&gt;
7 配置openvpn 服务器&lt;br /&gt;
将/usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz文件复制到/etc/openvpn目录，并解压&lt;br /&gt;
# cp /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz /etc/openvpn&lt;br /&gt;
# gzip -d /etc/openvpn/server.conf.gz&lt;br /&gt;
修改 /etc/openvpn/server.conf 文件&lt;br /&gt;
local ip&lt;br /&gt;
dh dh2048.pem&lt;br /&gt;
push "dhcp-option DNS 208.67.222.222"&lt;br /&gt;
push "dhcp-option DNS 208.67.220.220"&lt;br /&gt;
client-to-client&lt;br /&gt;
duplicate-cn&lt;br /&gt;
cipher AES-128-CBC&lt;br /&gt;
log-append &amp;nbsp;openvpn.log&lt;br /&gt;
auth-nocache&lt;br /&gt;
&lt;br /&gt;
8 修改 /etc/sysctl.conf内容为&lt;br /&gt;
&amp;nbsp;net.ipv4.ip_forward=1 运行sysctl -p 启动&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8 设置IP转发&lt;br /&gt;
若Xen或KVM的请输入：（eth0要根据具体的网卡标示来，可以通过ifconfig查看）&lt;br /&gt;
iptables -t nat -A POSTROUTING -s 10.8.0.0/16 -o eth0 -j MASQUERADE&lt;br /&gt;
若OpenVZ的请输入：（11.22.33.44是你VPS的IP）&lt;br /&gt;
&lt;span style="color: red;"&gt;iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to-source x.x.x.x #&lt;/span&gt; x.x.x.x为服务器IP&lt;br /&gt;
应对GFW封锁，我们要忽略RST包&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: red;"&gt;iptables -A INPUT -p tcp --tcp-flags RST RST -j DROP&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;strike&gt;iptables -I INPUT -p tcp --tcp-flags ACK,SYN,FIN,RST,URG,PSH RST -j DROP&lt;/strike&gt;&lt;/span&gt;&lt;br /&gt;
为防止重启后转发丢失，把代码写进 /etc/rc.local中&lt;br /&gt;
&lt;br /&gt;
#!/bin/sh -e&lt;br /&gt;
#&lt;br /&gt;
# rc.local&lt;br /&gt;
#&lt;br /&gt;
# This script is executed at the end of each multiuser runlevel.&lt;br /&gt;
# Make sure that the script will "exit 0" on success or any other&lt;br /&gt;
# value on error.&lt;br /&gt;
#&lt;br /&gt;
# In order to enable or disable this script just change the execution&lt;br /&gt;
# bits.&lt;br /&gt;
#&lt;br /&gt;
# By default this script does nothing.&lt;br /&gt;
&lt;span style="color: red;"&gt;iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to-source x.x.x.x&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;iptables -A INPUT -p tcp --tcp-flags RST RST -j DROP&lt;/span&gt;&lt;br /&gt;
iptables -t filter -A OUTPUT -p tcp --tcp-flags RST RST -j DROP&lt;br /&gt;
/etc/init.d/dnsmasq restart&lt;br /&gt;
&lt;br /&gt;
exit 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9 配置openvpn客户端文件&lt;br /&gt;
mkdir /home/openvpn-client&lt;br /&gt;
cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /home/openvpn-client/client.ovpn&lt;br /&gt;
cd /etc/openvpn/easy-rsa/keys/&lt;br /&gt;
cp -r ./ca.crt client.key client.crt /home/openvpn-client/&lt;br /&gt;
cd /home/openvpn-client/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
将密钥文件添加到client.ovpn里&lt;br /&gt;
&lt;br /&gt;
echo "" &amp;gt;&amp;gt; client.ovpn&lt;br /&gt;
echo "&lt;ca&gt;" &amp;gt;&amp;gt;client.ovpn&lt;/ca&gt;&lt;br /&gt;
cat ca.crt | grep -A 100 "BEGIN CERTIFICATE" | grep -B 100 "END CERTIFICATE" &amp;gt;&amp;gt; client.ovpn&lt;br /&gt;
echo "&lt;br /&gt;
" &amp;gt;&amp;gt; client.ovpnecho "&lt;cert&gt;" &amp;gt;&amp;gt; client.ovpn&lt;/cert&gt;&lt;br /&gt;
cat client.crt | grep -A 100 "BEGIN CERTIFICATE" | grep -B 100 "END CERTIFICATE" &amp;gt;&amp;gt; client.ovpn&lt;br /&gt;
echo "&lt;br /&gt;
" &amp;gt;&amp;gt; client.ovpnecho "&lt;key&gt;" &amp;gt;&amp;gt; client.ovpn&lt;/key&gt;&lt;br /&gt;
cat client.key | grep -A 100 "BEGIN PRIVATE KEY" | grep -B 100 "END PRIVATE KEY" &amp;gt;&amp;gt; client.ovpn&lt;br /&gt;
echo "&lt;br /&gt;
" &amp;gt;&amp;gt; client.ovpn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
以下是cmcc 免流代码&lt;br /&gt;
mssfix 1400&lt;br /&gt;
auth-nocache&lt;br /&gt;
http-proxy 服务器IP 8080&lt;br /&gt;
http-proxy-retry&lt;br /&gt;
http-proxy-timeout 1&lt;br /&gt;
http-proxy-option EXT1 "GET http://rd.go.10086.cn"&lt;br /&gt;
http-proxy-option EXT1 "POST http://rd.go.10086.cn"&lt;br /&gt;
http-proxy-option EXT1 "X-Online-Host: rd.go.10086.cn"&lt;br /&gt;
http-proxy-option EXT1 "Host: rd.go.10086.cn"&lt;br /&gt;
http-proxy-option AGENT "Iphone 9x"&lt;br /&gt;
&lt;br /&gt;
;script-security 3 system&lt;br /&gt;
;route-up "net stop dnscache"&lt;br /&gt;
;route-up "net start dnscache"&lt;br /&gt;
;route-up "ipconfig /flushdns"&lt;br /&gt;
;route-up "ipconfig /registerdns"&lt;br /&gt;
ns-cert-type server &amp;nbsp; &amp;nbsp; # 要求客户端证书 nsCertType 为 server&lt;br /&gt;
remote-cert-tls server &amp;nbsp; # 检查客户端证书 key usage 和 extended key usage&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/2177010192540631253/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2016/07/openvpndebian.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/2177010192540631253" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/2177010192540631253" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2016/07/openvpndebian.html" rel="alternate" title="openvpn云免流之debian系统搭建全能云免服务器" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-8046197570368240283</id><published>2016-05-27T08:53:00.003+08:00</published><updated>2016-06-23T06:23:20.668+08:00</updated><title type="text">openvpn云免流之squid3及防恶意扫描</title><content type="html">&lt;br /&gt;
服务器架设了squid3代理,无奈扫代理的成堆&lt;br /&gt;
access.log 一天就几个G&lt;br /&gt;
现在设置让squid3只能连接一个ip&lt;br /&gt;
&lt;br /&gt;
在配置文件（/etc/squid3/squid3.conf）中找到 &amp;nbsp;http_access deny all&lt;br /&gt;
在上面添加以下2行代码，让squid3只能连接服务器IP&lt;br /&gt;
&lt;div&gt;
1 安装squid3&lt;br /&gt;
apt-get install squid3&lt;br /&gt;
&lt;br /&gt;
2 设置squid3&lt;br /&gt;
vi /etc/squid3/squid.conf&lt;br /&gt;
找到http_access deny all 在上面添加以下代码&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style="color: red;"&gt;acl okip dst 服务器IP&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;http_access allow okip&lt;/span&gt;&lt;br /&gt;
http_access deny all&lt;br /&gt;
&lt;br /&gt;
3设置端口&lt;br /&gt;
http_port 8080&lt;br /&gt;
&lt;br /&gt;
4检查squid配置是否正确&lt;br /&gt;
&lt;pre style="line-height: 22.4px; padding: 0px; text-align: justify;"&gt;squid -k check&lt;/pre&gt;
&lt;pre style="line-height: 22.4px; padding: 0px; text-align: justify;"&gt;5启动squid&lt;/pre&gt;
&lt;pre style="line-height: 22.4px; padding: 0px; text-align: justify;"&gt;/etc/init.d/squid3 start&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
您能浏览我的网站，能让我高兴一整天！&lt;br /&gt;
参考：&lt;br /&gt;
http://wangzan18.blog.51cto.com/8021085/1690504&lt;br /&gt;
http://home.arcor.de/pangj/squid/chap06.html&lt;br /&gt;
&lt;br /&gt;</content><link href="http://hdp5252.blogspot.com/feeds/8046197570368240283/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2016/05/openvpnsquid3.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/8046197570368240283" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/8046197570368240283" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2016/05/openvpnsquid3.html" rel="alternate" title="openvpn云免流之squid3及防恶意扫描" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-975737261805791272</id><published>2016-05-19T12:34:00.001+08:00</published><updated>2016-05-19T12:34:49.443+08:00</updated><title type="text">把ca.crt证书放入client.ovpn配置文件</title><content type="html">&lt;div dir="ltr"&gt;&lt;div class="gmail_signature"&gt;&lt;div dir="ltr"&gt;&lt;div&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;如果你有好几个网站的openvpn配置你可以在config目录下为每一个网站建一个文件夹，也可以都放在config目录下，不过是不是有很多.crt和.key文件很烦人呀，其实你可以把它们都删除了，只需要把他们放入client.ovpn配置文件。 &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;用写字板打开各个client.ovpn文件在最后面添加 &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&amp;lt;ca&amp;gt; &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&amp;lt;/ca&amp;gt; &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&amp;lt;cert&amp;gt; &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&amp;lt;/cert&amp;gt; &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&amp;lt;key&amp;gt; &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&amp;lt;/key&amp;gt; &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;key-direction 1 &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&amp;lt;tls-auth&amp;gt; &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&amp;lt;/tls-auth&amp;gt; &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;用记事本打开ca.crt把文件内容复制到&amp;lt;ca&amp;gt;和&amp;lt;/ca&amp;gt;的中间， &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;用记事本打开client.crt把文件内容复制到&amp;lt;cert&amp;gt;和&amp;lt;/cert&amp;gt;的中间， &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;用记事本打开client.key把文件内容复制到&amp;lt;key&amp;gt;和&amp;lt;/key&amp;gt;的中间， &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;用记事本打开ta.key把文件内容复制到&amp;lt;tls-auth&amp;gt;和&amp;lt;/tls-auth&amp;gt;的中间， &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;（ca.crt、client.crt、client.key、ta.key这些文件不一定全都与，有那些就修改那些；这些文件的名字不一定都是这样，可以在.ovpn配置文件里搜索ca、cert、key、tls-auth看他们所对应的文件名） &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;修改完成后删除类似 &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;tls-auth ta.key 1 &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;ca ca.crt &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;cert client.crt &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;key client.key &lt;/span&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;&lt;br style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px;margin-bottom:0px!important"&gt;&lt;span style="color:rgb(0,0,0);font-family:&amp;#39;Helvetica Neue&amp;#39;,&amp;#39;Luxi Sans&amp;#39;,&amp;#39;DejaVu Sans&amp;#39;,Tahoma,&amp;#39;Hiragino Sans GB&amp;#39;,&amp;#39;Microsoft Yahei&amp;#39;,sans-serif;font-size:14px;line-height:22.4px"&gt;的那几行，然后保.ovpn文件即可删除那些.crt和.key文件而正常使用了（你可以把密码都保存在一个文件夹下，修改如下：把：auth-user-pass 改成： auth-user-pass pwd/mypass.txt 并在client.ovpn所在目录建立pwd文件夹并在此文件夹下建mypass.txt文件…）。&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;/div&gt;  </content><link href="http://hdp5252.blogspot.com/feeds/975737261805791272/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2016/05/cacrtclientovpn.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/975737261805791272" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/975737261805791272" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2016/05/cacrtclientovpn.html" rel="alternate" title="把ca.crt证书放入client.ovpn配置文件" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-8177712803639781834</id><published>2015-08-04T07:10:00.000+08:00</published><updated>2015-08-04T07:10:19.839+08:00</updated><title type="text">不用下载任何软件 用win7的vhd安装多系统</title><content type="html">&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp;win10正式版开放下载了,大家都想下载试用一下.我这里有个好方法,不用破坏旧系统,安装新系统,不好用了还可以把新系统删掉.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;主系统要是win7以上.这样才可以使用vhd功能.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1,打开计算机管理如下图,点创建vhd&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl7BfuCKprWwXoweMUavKL3BkCw0ZZEFFrDMdfGYjE_R1en84E9020dIg5QcjZoIr0icLujmY7Nr-_KJCZxJPZRXrYalUHVJX3tOFSLGAjF3Mz_INgbAC_6MO1aOBzSCdZIVPYV5_DWbJs/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl7BfuCKprWwXoweMUavKL3BkCw0ZZEFFrDMdfGYjE_R1en84E9020dIg5QcjZoIr0icLujmY7Nr-_KJCZxJPZRXrYalUHVJX3tOFSLGAjF3Mz_INgbAC_6MO1aOBzSCdZIVPYV5_DWbJs/s320/1.png" width="281" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
2,在位置上把文件放到D盘上,选动态扩展,大小的话最少要20G的空间.&lt;br /&gt;
3,这时在磁盘里就有个磁盘1,然后点初始化,然后格式化硬盘.&lt;br /&gt;
4,用压缩软件打开下载的win10系统,解压sources文件下的install.wim文件到D盘.&lt;br /&gt;
5,用压缩软件解压install.wim文件到新创建的硬盘上.&lt;br /&gt;
6,用管理员权限运行CMD.exe,然后运行 bcdboot.exe g:\windows /s c: /l zh_cn 把G盘的windows系统添加到C盘启动菜单.&lt;br /&gt;
7运行msconfig,把系统默认启动系统由win10改为win7.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/8177712803639781834/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2015/08/win7vhd.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/8177712803639781834" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/8177712803639781834" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2015/08/win7vhd.html" rel="alternate" title="不用下载任何软件 用win7的vhd安装多系统" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl7BfuCKprWwXoweMUavKL3BkCw0ZZEFFrDMdfGYjE_R1en84E9020dIg5QcjZoIr0icLujmY7Nr-_KJCZxJPZRXrYalUHVJX3tOFSLGAjF3Mz_INgbAC_6MO1aOBzSCdZIVPYV5_DWbJs/s72-c/1.png" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-2225106187912549641</id><published>2015-03-01T15:37:00.002+08:00</published><updated>2015-03-01T15:37:33.689+08:00</updated><title type="text">windows版googletalk 客户最好的替代产品</title><content type="html">&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1SYayTJplghbs_Ia03tKA2kS6DVhd_uQv9e6CUwMa1p9my2CGMW7simJExwMaRyQcUSvqUgrX36ALrLeAC2PxDPLkVlUX9tX90YTPBTrtjtlMGHep8LYq091kblEf_LaMUe0tK46DrUP9/s1600/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE+2015-03-01+15.18.13.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1SYayTJplghbs_Ia03tKA2kS6DVhd_uQv9e6CUwMa1p9my2CGMW7simJExwMaRyQcUSvqUgrX36ALrLeAC2PxDPLkVlUX9tX90YTPBTrtjtlMGHep8LYq091kblEf_LaMUe0tK46DrUP9/s1600/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE+2015-03-01+15.18.13.png" height="320" width="184" /&gt;&lt;/a&gt;&amp;nbsp; &amp;nbsp; gtalk这几天无法登陆了.这么好的软件怎么说不能用就不能用了,软件小,启动快,还没有后门,各方面QQ都不能比.&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 最后终于找到一款和它类似的软件.和gtalk大小差不多,但是比它功能还强大.支持gtalk,自家帐号和xmpp协议的帐号登陆.软件名子就是&lt;a href="http://www.talkonaut.com/" target="_blank"&gt;talkonaut&lt;/a&gt;.支持s60 android iphone win.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; gtalk无法登陆后,这个软件用google帐号也无法登陆,但是如果把协议改为xmpp后照样能登陆.具体方法是运行软件,把软件界面的(Account type:Talkonaut)改为(Account type:Jabber)后填入gmail的帐号密码就可以登陆成功.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;a href="http://www.talkonaut.com/" target="_blank"&gt;软件官主网站下载&lt;/a&gt;&amp;nbsp; &amp;nbsp; &lt;a href="https://www.dropbox.com/s/vc0oroynq2o4f2w/talkonaut.exe?dl=0" target="_blank"&gt;绿色免安装版本下载&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/2225106187912549641/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2015/03/windowsgoogletalk.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/2225106187912549641" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/2225106187912549641" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2015/03/windowsgoogletalk.html" rel="alternate" title="windows版googletalk 客户最好的替代产品" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1SYayTJplghbs_Ia03tKA2kS6DVhd_uQv9e6CUwMa1p9my2CGMW7simJExwMaRyQcUSvqUgrX36ALrLeAC2PxDPLkVlUX9tX90YTPBTrtjtlMGHep8LYq091kblEf_LaMUe0tK46DrUP9/s72-c/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE+2015-03-01+15.18.13.png" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-117187674499758439</id><published>2015-02-26T14:31:00.001+08:00</published><updated>2015-02-26T14:31:43.840+08:00</updated><title type="text">talkonaut用gmail帐号在国内无法登陆的解决方法</title><content type="html">&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;我老nokia手机上gtalk只有talkonaut可以用.以前还是可以登陆的.后来防火墙升级后就无法登陆了.&lt;br /&gt;
&amp;nbsp; &amp;nbsp;最近我又能登陆了.解决方法是:在连接设置里服务器地址填入六四点二三三点一八九点一二五,保存退可登陆.&lt;br /&gt;
&amp;nbsp; 如果你要问我这个IP是怎么找的.我的方法是用gtalk代理登陆,然后查看防火墙看看它连接哪个IP,我找到这个IP在浏览器可以正常使用.没有被墙,真幸运.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/117187674499758439/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2015/02/talkonautgmail.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/117187674499758439" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/117187674499758439" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2015/02/talkonautgmail.html" rel="alternate" title="talkonaut用gmail帐号在国内无法登陆的解决方法" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-6736039829119595353</id><published>2015-02-15T10:29:00.003+08:00</published><updated>2015-02-20T09:40:49.971+08:00</updated><title type="text">windows7 windows8 开启无线热点批处理单文件版</title><content type="html">笔记本开启无线热点的批处理,一个文件自动打开关闭无线热点文件.&lt;br /&gt;
将下面命令保存为批处理文件.&lt;br /&gt;
_________________________________________________________________________&lt;br /&gt;
&lt;br /&gt;
@ECHO OFF&lt;br /&gt;
setlocal enabledelayedexpansion&lt;br /&gt;
%~d0&lt;br /&gt;
cd %~dp0&lt;br /&gt;
title Wifi 热点控制&lt;br /&gt;
echo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ++++++++++++++++++++++++++++++++++++&lt;br /&gt;
echo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; **********************************&lt;br /&gt;
echo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*&lt;br /&gt;
echo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Wifi 热点控制 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*&lt;br /&gt;
echo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*&lt;br /&gt;
echo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * 注意：本文件需以管理员身份运行 *&lt;br /&gt;
echo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*&lt;br /&gt;
echo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; **********************************&lt;br /&gt;
echo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ++++++++++++++++++++++++++++++++++++&lt;br /&gt;
IF EXIST 启用 (&lt;br /&gt;
rd 启用&lt;br /&gt;
netsh wlan set hostednetwork mode=disallow&lt;br /&gt;
netsh wlan stop hostednetwork&lt;br /&gt;
echo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ----------------------------------------&lt;br /&gt;
echo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wifi分享已关闭&lt;br /&gt;
echo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ---------------------------------------- &lt;br /&gt;
)ELSE (&lt;br /&gt;
md 启用&lt;br /&gt;
set /p var=输入 wifi 名称:&lt;br /&gt;
set /p pwd=输入 wifi 密码:&lt;br /&gt;
netsh wlan set hostednetwork mode=allow ssid=!var! key=!pwd!&lt;br /&gt;
netsh wlan start hostednetwork&lt;br /&gt;
echo ###### 请按提示操作完成最后的设置： ######&lt;br /&gt;
echo =====================================================================&lt;br /&gt;
echo * 打开 [网络和共享中心]-[更改适配器设置]&lt;br /&gt;
echo * 在可用的网络连接上 [右键]-[属性]-[共享] 在下拉框中选择虚拟出的网络&lt;br /&gt;
echo =====================================================================&lt;br /&gt;
echo ###### 操作完成后就可以连接 wifi 了 ######)&lt;br /&gt;
&lt;br /&gt;
pause&amp;gt;nul&lt;br /&gt;
exit&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
_________________________________________________________________________&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/6736039829119595353/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2015/02/windows7-windows8.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/6736039829119595353" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/6736039829119595353" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2015/02/windows7-windows8.html" rel="alternate" title="windows7 windows8 开启无线热点批处理单文件版" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-759986381568960208</id><published>2015-02-08T23:31:00.003+08:00</published><updated>2015-02-08T23:31:57.096+08:00</updated><title type="text">Gobi2000 电信EVDO有信号无法上网的解决方法</title><content type="html">&amp;nbsp; &amp;nbsp; 自己用的笔记本老想安装debian系统。终于前天安装上了。但是gobi2000安装后无法使用电信上网卡。折腾一天无解，又换回了win系统。但是win系统也无法上网了。&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 后来自己用手机找到了解决方法，需要用QPST这款软件&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h5 style="border: 0px; font-family: simsun; line-height: 21px; list-style: none; margin: 0px; padding: 0px;"&gt;
&lt;span style="background-color: white; font-weight: normal;"&gt;1.打开QPST Configuration软件，首先添加Gobi2000端口，新版软件自动识别商品。&lt;br /&gt;2.在Start Clients中打开Service Programming，点击”Read from phone”读卡，(整个过程只点一次读卡就可以了)，&lt;br /&gt;System选项中，默认值(不需要改变)&lt;br /&gt;1x/HDR Security选项中，选择”R-UIM if avail”，[必须选R-UIM if avail模式]&lt;br /&gt;M.IP选项中，选择”Simple IP onle”&lt;br /&gt;gpsOne选项中，&lt;br /&gt;PPP Config选项中，Um用户名写ctnet@mycdma.cn，密码写vnet.mobi，删除AN中的信息ctnet@mycdma.cn，AN不写任何信息，最后点击”Write to Phone”就可以了，&lt;br /&gt;保存过程中会有提示点击”OK或确定”，退出即可完成设置，然后设置拨号软件。&lt;/span&gt;&lt;/h5&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/759986381568960208/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2015/02/gobi2000-evdo.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/759986381568960208" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/759986381568960208" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2015/02/gobi2000-evdo.html" rel="alternate" title="Gobi2000 电信EVDO有信号无法上网的解决方法" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-1528409173442294050</id><published>2015-01-16T17:28:00.002+08:00</published><updated>2015-01-17T20:58:41.951+08:00</updated><title type="text">win8.1系统下3G无线上网卡无法修改DNS的解决方法</title><content type="html">由于我上网用的是gobi2000安装手机卡上网,所以无法更改dns,只能使用河南省的dns,造成无法登陆googletalk.终于在网上找到解决方法.在这里做个记号.&lt;br /&gt;
&lt;br /&gt;
用系统管理员模式打开cmd命令提示符&lt;br /&gt;
netsh interface ipv4 add dnsserver "移动宽带" 127.0.0.1 index=1&lt;br /&gt;
移动宽带 改为你上网卡在系统中的名子&lt;br /&gt;
127.0.0.1 改为你的&lt;a href="http://hdp5252.blogspot.com/2014/07/dnsforwarder.html" target="_blank"&gt;dns服务器&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/1528409173442294050/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2015/01/win813gdns.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/1528409173442294050" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/1528409173442294050" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2015/01/win813gdns.html" rel="alternate" title="win8.1系统下3G无线上网卡无法修改DNS的解决方法" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-7984781432039651470</id><published>2014-12-03T18:06:00.000+08:00</published><updated>2014-12-03T18:06:08.047+08:00</updated><title type="text">解决 (Goagent客户端 pac漏洞 可被远程遍历目录及下载任意文件) 的漏洞</title><content type="html">今天看到网友爆出来goagent的漏洞,发现一招就解决了方法&lt;br /&gt;
&lt;br /&gt;
把下面红色 0.0.0.0 改成 127.0.0.1就解决了问题&lt;br /&gt;
如果你说访问http://127.0.0.1:8086/%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f/&lt;br /&gt;
还能打开,其实只把它改成127.0.0.1是只能在自己的电脑上访问这个网址,在别的电脑是无法访问的.&lt;br /&gt;
以下是代码&lt;br /&gt;
_______________________________________________________________________&lt;br /&gt;
[pac]&lt;br /&gt;
enable = 1&lt;br /&gt;
ip = &lt;span style="color: red;"&gt;0.0.0.0&lt;/span&gt;&lt;br /&gt;
port = 8086&lt;br /&gt;
file = proxy.pac&lt;br /&gt;
admode = 1&lt;br /&gt;
adblock = https://easylist-downloads.adblockplus.org/easylistchina.txt&lt;br /&gt;
gfwlist = https://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt&lt;br /&gt;
expired = 86400&lt;br /&gt;
_______________________________________________________________________&lt;br /&gt;
&lt;br /&gt;
您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/7984781432039651470/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/12/goagent-pac.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/7984781432039651470" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/7984781432039651470" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/12/goagent-pac.html" rel="alternate" title="解决 (Goagent客户端 pac漏洞 可被远程遍历目录及下载任意文件) 的漏洞" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-1092348984254420593</id><published>2014-11-29T13:56:00.000+08:00</published><updated>2014-12-28T07:25:58.144+08:00</updated><title type="text">goagent看youtube速度慢出现黄字的解决方法</title><content type="html">google_hk =&amp;nbsp;216.58.220.110|216.58.217.112|64.233.166.143|74.125.202.19&lt;br /&gt;
&lt;br /&gt;
[autorange]&lt;br /&gt;
threads = 4&lt;br /&gt;
maxsize = 1048576&lt;br /&gt;
waitsize = 524288&lt;br /&gt;
bufsize = 32768</content><link href="http://hdp5252.blogspot.com/feeds/1092348984254420593/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/11/goagentyoutube.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/1092348984254420593" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/1092348984254420593" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/11/goagentyoutube.html" rel="alternate" title="goagent看youtube速度慢出现黄字的解决方法" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-124870470258930510</id><published>2014-07-08T14:34:00.000+08:00</published><updated>2014-07-08T14:36:29.681+08:00</updated><title type="text">Nginx上传文件出现413 Request Entity Too Large 错误解决方法</title><content type="html">重装vps后在恢复mysql数据库时上传数据库文件出现413错误
&lt;br&gt;
&lt;br&gt;php上传限制修改
&lt;br&gt;vi /etc/php5/fpm/php.ini 
&lt;br&gt;upload_max_filesize = 8M 
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;打开 /etc/nginx/nginx.conf
&lt;br&gt;在http://{ 下添加
&lt;br&gt;lient_max_body_size 20m;  ##可以根据自己的实际需要去定义上传附件的大小；
&lt;br&gt;
&lt;br&gt;-- 
&lt;br&gt;yiyi &amp;lt;&lt;a href="mailto:hdp5252@gmail.com"&gt;hdp5252@gmail.com&lt;/a&gt;&amp;gt;</content><link href="http://hdp5252.blogspot.com/feeds/124870470258930510/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/07/nginx413-request-entity-too-large.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/124870470258930510" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/124870470258930510" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/07/nginx413-request-entity-too-large.html" rel="alternate" title="Nginx上传文件出现413 Request Entity Too Large 错误解决方法" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-6807323439910961941</id><published>2014-07-03T12:53:00.002+08:00</published><updated>2014-07-05T11:33:04.579+08:00</updated><title type="text">dnsforwarder 绿色免安装版下载</title><content type="html">前几天发个DNSCrypt来阻止国家防火墙的DSN解析攻击，但是很多网友说不稳定。今天我再发一个软件，我自认为很稳定。&lt;br /&gt;
软件主页 &lt;a href="https://github.com/holmium/dnsforwarder"&gt;https://github.com/holmium/dnsforwarder&lt;/a&gt;&lt;br /&gt;
您可以下载我自用的绿色免安装版：&lt;br /&gt;
&lt;a href="https://www.dropbox.com/s/4kn50fqkkkffbz8/dnsforwarder.7z"&gt;https://www.dropbox.com/s/4kn50fqkkkffbz8/dnsforwarder.7z&lt;/a&gt;&lt;br /&gt;
32/64位通用版&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaeIvh0rtG3O-c9szNdKvPM4r-A4TrlWVHN2UTo1HKmhlWO-Co5IhElnqhSHZm6qmprOmHSLQpNr9gTvOMOpP50d6zn0LeK1ZrKqr5JNBLzSRgfw48I0GY5911Y4gmSLQeJSLPfExP_UMl/s1600/dns.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaeIvh0rtG3O-c9szNdKvPM4r-A4TrlWVHN2UTo1HKmhlWO-Co5IhElnqhSHZm6qmprOmHSLQpNr9gTvOMOpP50d6zn0LeK1ZrKqr5JNBLzSRgfw48I0GY5911Y4gmSLQeJSLPfExP_UMl/s1600/dns.JPG" height="302" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/6807323439910961941/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/07/dnsforwarder.html#comment-form" rel="replies" title="1 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/6807323439910961941" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/6807323439910961941" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/07/dnsforwarder.html" rel="alternate" title="dnsforwarder 绿色免安装版下载" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaeIvh0rtG3O-c9szNdKvPM4r-A4TrlWVHN2UTo1HKmhlWO-Co5IhElnqhSHZm6qmprOmHSLQpNr9gTvOMOpP50d6zn0LeK1ZrKqr5JNBLzSRgfw48I0GY5911Y4gmSLQeJSLPfExP_UMl/s72-c/dns.JPG" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-5869578574284158721</id><published>2014-06-25T10:17:00.003+08:00</published><updated>2014-07-05T11:32:39.458+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GFW"/><category scheme="http://www.blogger.com/atom/ns#" term="goagent"/><title type="text">DNSCrypt0.0.6绿色免安装版可以永久解决国家防火墙（GFW）dns污染问题</title><content type="html">&amp;nbsp; &amp;nbsp; 有网友说dnscrypt有不稳定现象，本人测试中确实发现有时无法解析IP地址，建议使用 dnsforwarder 下载地址：&lt;a href="http://hdp5252.blogspot.com/2014/07/dnsforwarder.html"&gt;http://hdp5252.blogspot.com/2014/07/dnsforwarder.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 只能永久解决dns污染问题，GFW的其它问题还需别的工具来解决。&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 解压到本地合适的位置，运行install.bat把程序注册成服务，程序自动设置本机dns为 127.0.0.1&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 卸载方法是运行uninstall.bat,然后删除文件夹即卸载。&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFVFWlIpfDetuz-hRa0RrwdNszjWri11fNMfMcluoVEGppsWYycwGjSMxi8O5Mio0CsF71PSuOt78mCidNFYDhz2RjtsVobdmCVdz2kOxvHgRBvVct4L8mVvfnGHO1Q_moq4etJ6xe9mhI/s1600/dns.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFVFWlIpfDetuz-hRa0RrwdNszjWri11fNMfMcluoVEGppsWYycwGjSMxi8O5Mio0CsF71PSuOt78mCidNFYDhz2RjtsVobdmCVdz2kOxvHgRBvVct4L8mVvfnGHO1Q_moq4etJ6xe9mhI/s1600/dns.PNG" height="320" width="206" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
文件下载地址放在dropbox，需翻墙下载。 &lt;a href="https://www.dropbox.com/s/y9n2tdldm1f4ff6/DNSCrypt0.0.6.rar"&gt;https://www.dropbox.com/s/y9n2tdldm1f4ff6/DNSCrypt0.0.6.rar&lt;/a&gt;&lt;br /&gt;
您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/5869578574284158721/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/06/dnscrypt006gfwdns.html#comment-form" rel="replies" title="1 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/5869578574284158721" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/5869578574284158721" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/06/dnscrypt006gfwdns.html" rel="alternate" title="DNSCrypt0.0.6绿色免安装版可以永久解决国家防火墙（GFW）dns污染问题" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFVFWlIpfDetuz-hRa0RrwdNszjWri11fNMfMcluoVEGppsWYycwGjSMxi8O5Mio0CsF71PSuOt78mCidNFYDhz2RjtsVobdmCVdz2kOxvHgRBvVct4L8mVvfnGHO1Q_moq4etJ6xe9mhI/s72-c/dns.PNG" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-8922209375152865141</id><published>2014-06-17T08:56:00.000+08:00</published><updated>2014-07-05T11:33:17.177+08:00</updated><title type="text">torbrowser-3.6.2_zh-CN 绿色版下载</title><content type="html">&amp;nbsp; &amp;nbsp; Tor项目宣布弃用obfs2。obfs2插件被用于混淆流量避开包检测，但由于中国利用主动探测技术成功屏蔽了obfs2，Tor项目决定抛弃obfs2，而obfs3也可以通过主动探测技术屏蔽，但中国目前尚未实现。Tor项目刚刚发布的Tor Browser Bundle 3.6就默认使用obfs3。开发者称，如果中国屏蔽了内置的网桥，用户可尝试通过分布式数据库BridgeDB获取更多网桥地址。开发者表示，他们目前正在开发新的插件obfs4。obfs4类似scramblesuit，网桥将使用随机密码保护。另一个新的流量混淆插件Meek将会模拟 Firefox浏览行为，使用第三方服务GAE作为代理，不需要输入网桥。&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 最新版tor 3.6.2 绿色软件下载&lt;a href="https://www.dropbox.com/s/8tmm5yz6llvl0s7/torbrowser_3.6.2_zh-CN.zip"&gt;https://www.dropbox.com/s/8tmm5yz6llvl0s7/torbrowser_3.6.2_zh-CN.zip&lt;/a&gt;&lt;br /&gt;
经测试，可以正常使用&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR3qu-h9_t5tbTGO8cWy-Rl9rWDg7uMRxDWjwUokVnGN1EYTgXo-qEl50mEQ5qIsZvkVCwxtJuiyRHEG7FqdJccHJUKylFCl_G_joWW-SSLmhivePVqZGwXcUdpWJ34Mq-bt8JqF0Dd2dd/s1600/top.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR3qu-h9_t5tbTGO8cWy-Rl9rWDg7uMRxDWjwUokVnGN1EYTgXo-qEl50mEQ5qIsZvkVCwxtJuiyRHEG7FqdJccHJUKylFCl_G_joWW-SSLmhivePVqZGwXcUdpWJ34Mq-bt8JqF0Dd2dd/s1600/top.PNG" height="301" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/8922209375152865141/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/06/torbrowser-362zh-cn.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/8922209375152865141" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/8922209375152865141" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/06/torbrowser-362zh-cn.html" rel="alternate" title="torbrowser-3.6.2_zh-CN 绿色版下载" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR3qu-h9_t5tbTGO8cWy-Rl9rWDg7uMRxDWjwUokVnGN1EYTgXo-qEl50mEQ5qIsZvkVCwxtJuiyRHEG7FqdJccHJUKylFCl_G_joWW-SSLmhivePVqZGwXcUdpWJ34Mq-bt8JqF0Dd2dd/s72-c/top.PNG" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-9121404001122915155</id><published>2014-06-14T13:50:00.000+08:00</published><updated>2014-06-25T17:10:03.973+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="goagent"/><category scheme="http://www.blogger.com/atom/ns#" term="shadowsocks"/><category scheme="http://www.blogger.com/atom/ns#" term="shadowsocks-libev"/><category scheme="http://www.blogger.com/atom/ns#" term="开源"/><title type="text">翻墙利器shadowsocks win免配置客户端</title><content type="html">我不是黑客，无法攻击GFW，只有翻墙方法一个。&lt;br /&gt;
&lt;br /&gt;
https://www.dropbox.com/s/q8nidne5l8dmcu2/shadowsocks-local-win32-1.1.1.7z&lt;br /&gt;
&lt;br /&gt;
浏览器设置代理端口1080.&lt;br /&gt;
&lt;br /&gt;
您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/9121404001122915155/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/06/shadowsocks-win.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/9121404001122915155" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/9121404001122915155" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/06/shadowsocks-win.html" rel="alternate" title="翻墙利器shadowsocks win免配置客户端" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-4366124480035132356</id><published>2014-06-11T19:35:00.000+08:00</published><updated>2014-06-25T17:10:40.301+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="goagent"/><category scheme="http://www.blogger.com/atom/ns#" term="ip"/><title type="text">Google 全球 IP 地址库</title><content type="html">&lt;b style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2000007629395px;"&gt;Google在测试自动驾驶汽车，推进全球上网，开发手机操作系统，提交内核补丁；我们则在这里苦苦寻找Google可用的IP&lt;/b&gt;&lt;br /&gt;
&lt;span style="color: #404040; font-family: Roboto, arial, sans-serif; font-size: x-small;"&gt;&lt;span style="background-color: white; line-height: 18.2000007629395px;"&gt;&lt;b&gt;奉上google 所有IP&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; line-height: 18.2000007629395px;"&gt;&lt;span style="color: #404040; font-family: Roboto, arial, sans-serif; font-size: x-small;"&gt;&lt;b&gt;https://github.com/justjavac/Google-IPs&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
您能浏览我的网站，能让我高兴一整天！</content><link href="http://hdp5252.blogspot.com/feeds/4366124480035132356/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/06/google-ip.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/4366124480035132356" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/4366124480035132356" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/06/google-ip.html" rel="alternate" title="Google 全球 IP 地址库" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-1141232524688935218</id><published>2014-06-10T16:10:00.002+08:00</published><updated>2017-03-14T09:17:47.855+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="shadowsocks"/><category scheme="http://www.blogger.com/atom/ns#" term="shadowsocks-libev"/><category scheme="http://www.blogger.com/atom/ns#" term="vps.me"/><title type="text">在vps.me上搭建shadowsocks-libev</title><content type="html">&amp;nbsp; &amp;nbsp; 大家都知道vps.me是一个免费的vps服务器，这里我就不讲怎么注册这个了，其实只有两个重要步骤，美国IP和美国电话。&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 如果你的vps安装的系统是debian 2.6.32&lt;br /&gt;
&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace; line-height: inherit;"&gt;&amp;nbsp; &amp;nbsp; 更新安装程序 sudo apt-get update&amp;amp;&amp;amp; sudo apt-get upgrade&amp;amp;&amp;amp;sudo apt-get install shadowsocks&lt;/span&gt;&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;-libev&amp;nbsp;libssl-dev&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp;如果你的Vps系统是debian 8&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 运行 sh -c 'printf "deb http://httpredir.debian.org/debian jessie-backports main" &amp;gt; /etc/apt/sources.list.d/jessie-backports.list'&lt;br /&gt;
更新安装程序 apt-get update&amp;amp;apt-get -t jessie-backports install shadowsocks-libev&lt;br /&gt;
&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace; line-height: inherit;"&gt;&amp;nbsp; &amp;nbsp; 修改配置文件 sudo vi /etc/shadowsocks&lt;/span&gt;&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;-libev&lt;/span&gt;&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace; line-height: inherit;"&gt;/config.json &amp;nbsp;文件内容如下：&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace; line-height: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;"server":"&lt;/span&gt;&lt;span style="font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;span style="color: red;"&gt;127.0.0.1&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;",&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;"server_port":8388,&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;"local_port":1080,&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;"password":"barfoo!",&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;"timeout":60,&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;"method":null&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;span style="color: #333333;"&gt;只需把&lt;/span&gt;&lt;span style="color: red;"&gt;127.0.0.1 修改为0.0.0.0 &lt;/span&gt;保存退出。&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;运行 /etc/init.d/shadowsocks restart 重启。&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;登陆 &lt;a href="http://www.vps.me/service/"&gt;vps.me&lt;/a&gt;点击&lt;/span&gt;&lt;span style="background-color: white; color: #222222; font-family: &amp;quot;arial&amp;quot;; text-align: justify;"&gt;IPv4 Mapping 打开ipv4转发，&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222; font-family: &amp;quot;arial&amp;quot;; text-align: justify;"&gt;添加一条规则 名称随便，共享IP为你的vps的IP，源端口写一个没有用的端口，我这里用55532代替，目标端口写config.json里的“server_port”的端口，我这里是8388，协议为tcp，保存。服务器配置完成。&lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="color: #222222; font-family: &amp;quot;arial&amp;quot;;"&gt;&lt;span style="background-color: white;"&gt;配置客户端也比较容易，下载程序，修改配置文件，服务器IP为你的vps的共享IP 端口为转发IP，我这里为55532， 密码为&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;config.json的&lt;/span&gt;&lt;span style="color: #333333; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;password。&lt;/span&gt;&lt;/div&gt;
&lt;span style="background-color: white; color: #222222; font-family: &amp;quot;arial&amp;quot;; text-align: justify;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;客户端程序下载&lt;a href="http://shadowsocks.org/en/download/clients.html"&gt;地址&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
您可能想在vps上安装&lt;a href="http://hdp5252.blogspot.com/2013/07/lnmpwordpress.html" target="_blank"&gt;lnmp教程&lt;/a&gt;,&lt;br /&gt;
您能浏览我的网站，能让我高兴一整天！&lt;span style="font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link href="http://hdp5252.blogspot.com/feeds/1141232524688935218/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/06/vpsmeshadowsocks-libev.html#comment-form" rel="replies" title="3 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/1141232524688935218" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/1141232524688935218" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/06/vpsmeshadowsocks-libev.html" rel="alternate" title="在vps.me上搭建shadowsocks-libev" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1472908415071697712.post-293391832962151984</id><published>2014-06-04T19:42:00.000+08:00</published><updated>2016-10-31T08:03:24.624+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><title type="text">linux 卸载软件包最好的方法</title><content type="html">以前卸载软件用了统配符，然后删掉了好多软件，只有一个桌面，输入法文件的关闭按钮都没有，最后只能重装系统。&lt;br /&gt;
后来就在网上找软件的卸载方法，很多都复杂，后来意外找到一个我个人感觉很好的方法，在这里记录下来。&lt;br /&gt;
先用dpkg -l|grep apache 查一下相关软件包 然后dpkg -P 包名就卸载完成了。&lt;br /&gt;
或&lt;br /&gt;
apt-get autoremove 包名 等同dpkg -r 包名&lt;br /&gt;
然后 find / -name apache2 查看apache文件夹删除&lt;br /&gt;
&lt;br /&gt;</content><link href="http://hdp5252.blogspot.com/feeds/293391832962151984/comments/default" rel="replies" title="博文评论" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/06/linux.html#comment-form" rel="replies" title="0 条评论" type="text/html"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/293391832962151984" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/1472908415071697712/posts/default/293391832962151984" rel="self" type="application/atom+xml"/><link href="http://hdp5252.blogspot.com/2014/06/linux.html" rel="alternate" title="linux 卸载软件包最好的方法" type="text/html"/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image height="16" rel="http://schemas.google.com/g/2005#thumbnail" src="https://img1.blogblog.com/img/b16-rounded.gif" width="16"/></author><thr:total>0</thr:total></entry></feed>