This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "trojan", | |
| "tag": "trojan-ws-out", | |
| "server": "SERVER-IP-ADDRESS", | |
| "server_port": 443, | |
| "password": "johahikomu", | |
| "tls": { | |
| "enabled": true, | |
| "disable_sni": false, | |
| "server_name": "trojan-ws.example.com", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "trojan", | |
| "tag": "trojan-ws-in", | |
| "listen": "127.0.0.1", | |
| "listen_port": 52001, | |
| "tcp_fast_open": true, | |
| "udp_fragment": true, | |
| "udp_timeout": 300, | |
| "proxy_protocol": true, | |
| "proxy_protocol_accept_no_header": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "trojan", | |
| "tag": "trojan-tls-out", | |
| "server": "SERVER-IP-ADDRESS", | |
| "server_port": 443, | |
| "password": "Xa79c9adrudlqoq10afr", | |
| "tls": { | |
| "enabled": true, | |
| "disable_sni": false, | |
| "server_name": "trojan.example.com", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "trojan", | |
| "tag": "trojan-tls-in", | |
| "listen": "127.0.0.1", | |
| "listen_port": 52000, | |
| "tcp_fast_open": true, | |
| "udp_fragment": true, | |
| "sniff": true, | |
| "sniff_override_destination": false, | |
| "udp_timeout": 300, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| stream { | |
| map $ssl_preread_server_name $singbox { | |
| trojan.example.com trojan; | |
| trojan-ws.example.com trojan-ws; | |
| trojan-ws-6.example.com trojan-ws-6; | |
| vmess.example.com vmess; | |
| vmess-ws.example.com vmess-ws; | |
| vmess-ws-6.example.com vmess-ws-6; | |
| } | |
| upstream trojan { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "shadowsocks", | |
| "tag": "shadowsocks-out", | |
| "method": "2022-blake3-aes-128-gcm", | |
| "password": "8JCsPssfgS8tiRwiMlhARg==", | |
| "detour": "shadowtls-out", | |
| "multiplex": { | |
| "enabled": true, | |
| "max_connections": 4, | |
| "min_streams": 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "shadowtls", | |
| "listen": "::", | |
| "listen_port": 4443, | |
| "version": 2, | |
| "password": "woman life liberty", | |
| "handshake": { | |
| "server": "google.com", | |
| "server_port": 443 | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "vmess", | |
| "tag": "vmess-out", | |
| "uuid": "18543660-1aa6-49bc-8be6-f6dfc7e87de0", | |
| "security": "auto", | |
| "alter_id": 0, | |
| "global_padding": false, | |
| "authenticated_length": true, | |
| "multiplex": { | |
| "enabled": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "shadowtls", | |
| "tag": "shadowtls-in", | |
| "listen": "::", | |
| "listen_port": 8443, | |
| "handshake": { | |
| "server": "www.wikimedia.org", | |
| "server_port": 443 | |
| }, | |
| "detour": "vmess-in" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "trojan", | |
| "tag": "trojan-out", | |
| "password": "talosliphe", | |
| "detour": "shadowtls-out" | |
| }, | |
| { | |
| "type": "shadowtls", | |
| "tag": "shadowtls-out", | |
| "server": "SERVER-IP-ADDRESS", |