change port

This commit is contained in:
mm644706215
2025-09-30 21:38:33 +08:00
parent 0942f30386
commit b78c472eed
3 changed files with 6 additions and 6 deletions

View File

@@ -9,5 +9,5 @@ services:
- ./v2ray-client.json:/etc/v2ray/config.json:ro - ./v2ray-client.json:/etc/v2ray/config.json:ro
command: ["run", "-c", "/etc/v2ray/config.json"] command: ["run", "-c", "/etc/v2ray/config.json"]
ports: ports:
- "1080:1080" # SOCKS5 - "127.0.0.1:11080:11080" # SOCKS5
- "8080:8080" # HTTP - "127.0.0.1:18080:18080" # HTTP

View File

@@ -4,13 +4,13 @@
}, },
"inbounds": [ "inbounds": [
{ {
"port": 1080, "port": 11080,
"listen": "0.0.0.0", "listen": "0.0.0.0",
"protocol": "socks", "protocol": "socks",
"settings": { "auth": "noauth", "udp": true } "settings": { "auth": "noauth", "udp": true }
}, },
{ {
"port": 8080, "port": 18080,
"listen": "0.0.0.0", "listen": "0.0.0.0",
"protocol": "http", "protocol": "http",
"settings": {} "settings": {}

View File

@@ -4,13 +4,13 @@
}, },
"inbounds": [ "inbounds": [
{ {
"port": 1080, "port": 11080,
"listen": "0.0.0.0", "listen": "0.0.0.0",
"protocol": "socks", "protocol": "socks",
"settings": { "auth": "noauth", "udp": true } "settings": { "auth": "noauth", "udp": true }
}, },
{ {
"port": 8080, "port": 18080,
"listen": "0.0.0.0", "listen": "0.0.0.0",
"protocol": "http", "protocol": "http",
"settings": {} "settings": {}