博文

目前显示的是 六月, 2019的博文

caddy官方脚本手工安装HSTS强制安全策略的谷歌反向代理服务器参考命令

caddy英文官方文档https://caddyserver.com/docs caddy中文文档https://dengxiaolong.com/caddy/zh/ 安装环境VPS-digitalOcean OS--debian9.7  64位 安装 Curl :  apt-get update -y  apt-get install curl -y caddy官方安装脚本 $ curl https://getcaddy.com | bash -s personal  or #$ wget -qO- https://getcaddy.com | bash -s personal 文件位置 caddyfile   /etc/caddy caddy       /usr/local/bin TLS证书,自动 启动  caddy -conf ../etc/Caddyfile 查看证书位置 find / -name *gcpXX7.ml* 配置内容 gcpXX7.ml {     gzip     basicauth / mikeXXtv 1234     header / Strict-Transport-Security "max-age=31536000;"     tls mikeXXtv@gmail.com     proxy / https://www.google.com.hk     }

反DNS域名劫持污染6大方法小结,哪个最简单有效还免费

1,修改hosts文件,简单,但需要长期维护 2、修该本地电脑DNS服务器地址,目前已失效 3、安装软件,github上的      Pcap_DNSProxy AuroraDNS.GUI dnscrypt-proxy 等等,需要软件设置,占用电脑资源。 4、自己架设DNS服务器,成本高,技术难度高。 5、firefox浏览器,设置,      Firefox 地址栏中执行  about:config  打开浏览器配置选项       network.proxy.socks_remote_dns           true        network.proxy.socks_over_tls                 true     network.trr.mode   ,将该首选项的值设置为  2       network.trr.uri   , 设置为 https://cloudflare-dns.com/dns-query       network.trr.bootstrapAddress    设置为 1.1.1.1 6、Yandex       设置--》protect--》安全连接--》使用DNS服务器进行DNSCrypt加密 最简单,有效,还免费

当github挂了,手动安装V2ray服务器用到的相关命令

查看时间 $ date -R 时间设置为UTC+8 首先执行 rm /etc/localtime 然后执行 ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime $ date -R 时间同步;误差在90秒之内 debian: apt-get install ntpdate centos: yum install ntpdate ntpdate [ntp时间服务器地址] ntpdate time.nuri.net ntpdate 0.asia.pool.ntp.org ntpdate 1.asia.pool.ntp.org ntpdate 2.asia.pool.ntp.org ntpdate 3.asia.pool.ntp.org ntpdate time.nist.gov 安装bash go.sh --local ./v2ray-linux-64.zip 删除bash go.sh --remove service v2ray start service v2ray stop service v2ray status service v2ray reload service v2ray restart service v2ray force-reload 安装wget yum -y install wget wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh lsmod | grep bbr 返回值有 tcp_bbr 模块即说明 bbr 已启动 yum install firewalld systemctl unmask firewalld systemctl enable firewalld systemctl start firewalld systemctl stop firewalld 查看防火墙状态 firewall-cmd --state 查看已经开放的端口: firewall-cmd --l