User Tools

Site Tools


linux:v2ray

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
linux:v2ray [2019/07/14 00:35] – [Router Install] percylinux:v2ray [2021/10/02 22:25] – [Config file for server] percy
Line 71: Line 71:
 { {
   "inbounds": [{   "inbounds": [{
-    "port": 2710x,+    "port": 2130x, 
 +    "listen": "127.0.0.1",
     "protocol": "vmess",     "protocol": "vmess",
     "settings": {     "settings": {
       "clients": [       "clients": [
         {         {
-          "id": "58ceb1c6-b580-4d2c-bf41-21b6a35ae62x",+          "id": "58ceb1c6-b580-4d2c-bf41-21b6a35xxxx",
           "level": 1,           "level": 1,
           "alterId": 64           "alterId": 64
Line 83: Line 84:
     },     },
  "streamSettings": {  "streamSettings": {
- "network": "mkcp",+ "network": "ws"
 + "wsSettings":
 +     "path": "/xxxxxxx" 
 + },
  "kcpSettings": {  "kcpSettings": {
    "uplinkCapacity": 50,    "uplinkCapacity": 50,
Line 111: Line 115:
       }       }
     ]     ]
-  }+  }, 
 + "log":
 +  "access": "/var/log/v2ray/access.log", 
 +  "loglevel": "info", 
 +  "error": "/var/log/v2ray/error.log" 
 + }
 } }
 </file> </file>
Line 252: Line 261:
 } }
 </code> </code>
 +
 +==== v2ray with nginx ====
 +- https://tlanyan.me/v2ray-traffic-mask/
 +
  
/var/www/dokuwiki/wiki/data/pages/linux/v2ray.txt · Last modified: 2021/10/02 22:32 by percy