v2ray


wget https://install.direct/go.sh
sudo bash go.sh

record PORT and UUID


sudo nano /etc/v2ray/config.json

{
 "inbounds": [
   {
     "port": 40827,
     "protocol": "vmess",
     "settings": {
       "clients": [
         {
           "id": "505f001d-4aa8-4519-9c54-6b65749ee3fb",
           "alterId": 64
         }
       ]
     },
     "streamSettings": {
       "network": "mkcp",
       "kcpSettings": {
         "uplinkCapacity": 5,
         "downlinkCapacity": 100,
         "congestion": true,
         "header": {
           "type": "none"
         }
       }
     }
   }
 ],
 "outbounds": [
   {
     "protocol": "freedom",
     "settings": {}
   }
 ]
}
firewall-cmd --zone=public --add-port=40827/udp --permanent
firewall-cmd --reload


sudo /etc/init.d/v2ray restart

Auto run 

sudo nano /etc/rc.local

add 

sudo /etc/init.d/v2ray restart



Client

https://github.com/2dust/v2rayN/releases

network:kcp

Last Article

Comment 评论



Share 分享

New Users 最新加入

  • hokurikustr

  • refrain

New comments 最新评论

test123: aasdas Details Apr 13 16:39
admin: Thanks! Details Apr 09 11:46
admin: Google map api Details Apr 09 11:46
lqj12: cooooooooool Details Apr 08 21:34
Yunhan Huang: 这个功能是如何实现的? Details Apr 08 13:23