使用该功能前,需要自行准备自签名的ca根证书,并且将根证书配置到浏览器信任列表中。
openssl.cnf
,输入如下内容
[ req ] default_bits = 2048 default_md = sha256 distinguished_name = req_distinguished_name attributes = req_attributes [ req_distinguished_name ] countryName = Country Name (2 letter code) countryName_min = 2 countryName_max = 2 stateOrProvinceName = State or Province Name (full name) localityName = Locality Name (eg, city) 0.organizationName = Organization Name (eg, company) organizationalUnitName = Organizational Unit Name (eg, section) commonName = Common Name (eg, fully qualified host name) commonName_max = 64 emailAddress = Email Address emailAddress_max = 64 [ req_attributes ] challengePassword = A challenge password challengePassword_min = 4 challengePassword_max = 20 [ v3_ca ] subjectKeyIdentifier=hash authorityKeyIdentifier=keyid:always,issuer basicConstraints = critical, CA:TRUE, pathlen:3 keyUsage = critical, cRLSign, keyCertSign nsCertType = sslCA, emailCA
openssl genrsa -out ca.key 2048 openssl req -new -x509 -extensions v3_ca -days 36500 -key ca.key -out ca.crt -config openssl.cnf
协议(+ 是否启用KCP) | 地址 | 端口号 | 操作 |
---|---|---|---|
websockss websockss websocks | |||
流量代理规则 | 白名单 | 操作 |
---|---|---|
DNS代理规则 | 操作 |
---|---|
https-sni-erasure 通过清除SNI来避免防火墙检查,流量不会经过代理服务器 | 操作 |
---|---|
请将配置文件放置在家目录下的vpws-agent.conf文件中,或者在启动agent时指定配置文件路径。