@@ -0,0 +1,33 @@
+{
+ "log": {
+ "loglevel": "warning"
+ },
+ "inbounds": [
+ {
+ "port": 10800,
+ "listen": "127.0.0.1",
+ "protocol": "socks",
+ "settings": {
+ "udp": true
+ }
+ ],
+ "outbounds": [
+ "protocol": "trojan",
+ "servers": [
+ "address": "example.com",
+ "port": 443,
+ "password": "your password"
+ ]
+ "streamSettings": {
+ "network": "tcp",
+ "security": "tls"
+}
@@ -0,0 +1,39 @@
+ "clients": [
+ "password":"your password",
+ "email": "[email protected]"
+ "security": "tls",
+ "tlsSettings": {
+ "alpn": [
+ "http/1.1"
+ "certificates": [
+ "certificateFile": "/path/to/fullchain.crt",
+ "keyFile": "/path/to/private.key"
+ "protocol": "freedom"