標題:
PCCW + Mikrotik + NAS (V2Ray + ws + tls)
[打印本頁]
作者:
角色
時間:
2019-4-4 15:34
標題:
PCCW + Mikrotik + NAS (V2Ray + ws + tls)
因为PCCW已经把port 80放开,那么美每个家里都可以设一个server,让port 80 (http) and 443 (https)都可以接入来。
而我现在的configur就是
ISP:PCCW 300Mbps
Router:Mikrotik
NAS:QNAP TS-453x Pro (Virtualisation Station)
V2Ray: 4.18
V2Ray settings:vmess + ws + tls
Certificate using Let's Encrypt
手机用BiFrostV连接香港的server,效果良好!
下一步可以安装Caddy,建立一个网站。
作者:
角色
時間:
2019-4-5 14:21
备用帖子2
作者:
角色
時間:
2019-4-28 01:03
本帖最後由 角色 於 2019-4-28 01:05 編輯
如果你有兴趣起NAS + V2Ray + ws + tls可以跟帖讨论。
除了用Let's Encrypt起certificate外,你也可以用别的方法去create certificate,例如用openssl。
作者:
角色
時間:
2019-4-28 01:17
本帖最後由 角色 於 2019-4-28 01:23 編輯
V2Ray node (client side) config.json
{
"inbounds": [
{
"port": 1080,
"protocol": "http"
},
{
"port": 1081,
"protocol": "socks"
}
],
"outbounds": [
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "<your_domain_name_or_IP_address>",
"port": 443,
"users": [
{
"id": "<your_v2ray_server_UUID>",
"security": "auto"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/2019/"
},
"security": "tls"
}
},
{
"protocol": "freedom",
"tag": "direct",
"settings": {}
}
],
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "direct"
},
{
"type": "field",
"domain": [ "geosite:cn"],
"outboundTag": "direct"
},
{
"type": "field",
"ip": ["geoip:cn"],
"outboundTag": "direct"
}
]
}
}
複製代碼
.
作者:
角色
時間:
2019-4-28 01:23
V2Ray node (server side) config.json contains
{
"inbounds":[
{
"protocol": "vmess",
"port": 443,
"settings": {
"clients": [
{
"id": "<server_UUID>",
"alterId": 64
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/vapth/"
},
"security": "tls",
"tlsSettings": {
"certificates": [
{
"certificateFile": "/etc/v2ray/cert.crt",
"keyFile": "/etc/v2ray/cert.key"
}
]
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
]
}
複製代碼
.
作者:
角色
時間:
2019-4-28 01:33
如果你用local self-signed certificate and key,你可以参考下面帖子,里面包括怎样用openssl generating certificate and key。
http://www.telecom-cafe.com/foru ... &extra=page%3D1
歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/)
Powered by Discuz! 7.2