Added: trojan client config

This commit is contained in:
asskicker0214 2024-01-11 23:07:17 +08:00
parent ac6c789a17
commit cbb8081c4c
2 changed files with 28 additions and 0 deletions

13
trojan/client/config.json Normal file
View File

@ -0,0 +1,13 @@
{
"run_type": "client",
"local_addr": "0.0.0.0",
"local_port": 1081,
"remote_addr": "out.homemade.net.cn",
"remote_port": 6443,
"password": [
"J/f6m2X8-q4P"
],
"ssl": {
"sni": "out.homemade.net.cn"
}
}

View File

@ -0,0 +1,15 @@
version: '3'
services:
trojan-client:
image: teddysun/trojan-go:2023.11.18
restart: unless-stopped
volumes:
- ./config.json:/etc/trojan-go/config.json
networks:
- shared_network
ports:
- 1081:1081
networks:
shared_network:
driver: bridge