一、IPv4 下,连接 SSH
建议使用 Cloudflare 的 Spectrum。Spectrum 每个月只有 5G 流量,使用 SSH 足够了。
如果有 ION cloud 的免费 wordpress 的话,使用 Cloudflare Pro Plesk,可免费获取。
DNS 解析,建议 cname,内容为 ssh 域名.cdn.cloudflare.net
然后,使用 ssh 域名 ,端口 22,即可连接。
二、更改 VPS 的 DNS,以便访问 IPv4 资源
echo -e "nameserver 2001:67c:2b0::4nnameserver 2001:67c:2b0::6" > /etc/resolv.conf
升级软件
yum -y update
三、使用宝塔建站,并使用 Cloudflare 加速
1、安装宝塔 5.9.1 本地版
yum install -y wget && wget --no-check-certificate -O install.sh https://raw.githubusercontent.com/wangzhe12588/bt59happy/master/install-5.9-c.sh && sh install.sh
修改后台访问用域名,端口改为CloudFlare支持的端口。
CloudFlare支持的端口为:
HTTP ports supported by Cloudflare: 80 8080 8880 2052 2082 2086 2095 HTTPS ports supported by Cloudflare: 443 2053 2083 2087 2096 8443
2、使用 Cloudflare 加速
建议笨牛网等,回源用 VPS 的 IPv6,DNS 解析可设置为自选高速 IP。
还没有评论,来说两句吧...