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/13 22:31] – [Router Install] percylinux:v2ray [2021/10/02 22:25] – [Config file for server] percy
Line 61: Line 61:
 Testing the connection Testing the connection
   curl -x socks5://127.0.0.1:1088 google.com   curl -x socks5://127.0.0.1:1088 google.com
 +Reference 
 +  - https://www.v2ray.com/chapter_02/protocols/dokodemo.html
  
 ===== Reference ===== ===== Reference =====
Line 70: 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 82: Line 84:
     },     },
  "streamSettings": {  "streamSettings": {
- "network": "mkcp",+ "network": "ws"
 + "wsSettings":
 +     "path": "/xxxxxxx" 
 + },
  "kcpSettings": {  "kcpSettings": {
    "uplinkCapacity": 50,    "uplinkCapacity": 50,
Line 110: Line 115:
       }       }
     ]     ]
-  }+  }, 
 + "log":
 +  "access": "/var/log/v2ray/access.log", 
 +  "loglevel": "info", 
 +  "error": "/var/log/v2ray/error.log" 
 + }
 } }
 </file> </file>
Line 251: 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