Posts

Configure a L2TP/IPsec server behind a NAT-T device

Achived From  Microsoft 09/22/2020  2 minutes to read ------Achived------- This article describes how to configure a L2TP/IPsec server behind a NAT-T device. Applies to:    Windows 10 - all editions, Windows Server 2012 R2 Original KB number:    926179 Summary  Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, see  How to back up and restore the registry in Windows . By default, Windows Vista and Windows Server 2008 don't support Internet Protocol security (IPsec) network address translation (NAT) Traversal (NAT-T) security associations to servers that are located behind a NAT dev...

Mac软件安装时提示已损坏打不开怎么办?Mac如何打开身份不明开发者的程序?(macOS Sierra 10.12及以上)

在终端中输入【sudo spctl --master-disable】,点击回车键,输入Mac密码后再次点击回车键即可!

Nginx自动列举证书目录

使用 Nginx 的 ngx_http_sub_module 和 ** ngx_http_autoindex_module**  模块构建一个能够自动列举证书目录的服务,这样就不需要PHP了。 server {     listen 80;     server_name localhost;     location = /favicon.ico {         empty_gif;     }     location / {         root /public;         autoindex on;         sub_filter '<h1>Index of /</h1>'  '<h1>Get Certs</h1>';         sub_filter_once on;     } }

Nginx+(PHP) 静态网页/博客与V2RAY+Ws+Tls共存

前言:对于VPS的要求:512M以下内存都可以,如果不装数据库的话。 -准备好你的域名 -更改VPS系统时间(可选开启时间同步) rm - rf / etc / localtime ln - s / usr / share / zoneinfo / Asia / Shanghai / etc / localtime 时间同步对于SSR也许无所谓,但是对于V2RAY很重要。是非常重要。下面的时间同步可以选择跳过,时间改好就可以了。 NTP同步时间 协议(可选择跳过) 众所周知,NTP协议是网络时间同步协议,有了它,我们可以很轻松的同步本地时间与互联网时间。VPS上也可以使用NTP来同步网络。首先安装必要的软件包: Ubuntu/Debian系统 apt - get update apt - get install ntp ntpdate - y CentOS/RHEL系统 yum install ntp ntpdate - y 接下来我们需要先停止NTP服务器,再更新时间。 service ntpd stop #停止ntp服务 ntpdate us . pool . ntp . org #同步ntp时间 service ntpd start #启动ntp服务 执行完成后,VPS上就是相对精确的时间设置了。很多依赖于系统时间的应用程序也就能正常工作了。 -安装lnmp/aapanel/宝塔面板&&安装Nginx/Sql/或是其他你需要的运行环境软件 有时候debian不能急速安装,一般是编译安装,所以速度慢的奇葩!!若是真心是建站需求的话,推荐使用CENTOS7以上的系统,那样安装运行环境很急速的!一般10分钟内全部搞定 -开启DEBIAN9 BBR echo "net.core.default_qdisc=fq" >> /etc/ sysctl . conf echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/ sysctl . conf sysctl - p sysctl net . ipv4 . tcp_available_congestio...