sisrsis/vless

By sisrsis

Updated 19 days ago

vless clinet

Image
0

45

commend run continer socks

sudo docker run --name vpn -p 10808:10808 -v ./config.json:/home/config.json -it   sisrsis/vless:latest

commend run continer backgrand socks

sudo docker run --name vpn  -p 10808:10808 -v ./config.json:/home/config.json -it -d  sisrsis/vless:latest

commend run continer http

sudo docker run --name vpn -p 1080:1080 -v ./config.json:/home/config.json -it   sisrsis/vless:latest

commend run continer backgrand http

sudo docker run --name vpn -p 1080:1080 -v ./config.json:/home/config.json -it -d   sisrsis/vless:latest

auto start up

--restart unless-stopped

sudo docker run --name vpn -p 1080:1080 -v ./config.json:/home/config.json -it -d --restart unless-stopped sisrsis/vless:latest

sudo docker run --name vpn -p 10808:10808 -v ./config.json:/home/config.json -it -d --restart unless-stopped sisrsis/vless:latest

file config.json

config socks

{
  "log": {
    "loglevel": "warning"
  },
  "inbounds": [
    {
      "port": 10808,
      "listen": "127.0.0.1",
      "protocol": "socks",
      "settings": {
        "udp": true,
        "auth": "noauth"
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "vless",
      "settings": {
        "vnext": [
          {
            "address": "your-server.com",
            "port": 443,
            "users": [
              {
                "id": "your-uuid",
                "encryption": "none"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "security": "tls",
        "wsSettings": {
          "path": "/your-path"
        }
      }
    }
  ]
}

config http

{
  "log": {
    "loglevel": "warning"
  },
  "inbounds": [
    {
       
      "port": 1080,
      "listen": "0.0.0.0",
      "protocol": "http",
      "settings": {
         "allowTransparent": false
      }
    }
  ],
  ],
  "outbounds": [
    {
      "protocol": "vless",
      "settings": {
        "vnext": [
          {
            "address": "your-server.com",
            "port": 443,
            "users": [
              {
                "id": "your-uuid",
                "encryption": "none"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "security": "tls",
        "wsSettings": {
          "path": "/your-path"
        }
      }
    }
  ]
}

Docker Pull Command

docker pull sisrsis/vless