|
|
@@ -0,0 +1,54 @@
|
|
|
+{
|
|
|
+ "log": {
|
|
|
+ "loglevel": "warning"
|
|
|
+ },
|
|
|
+ "reverse": {
|
|
|
+ "portals": [
|
|
|
+ {
|
|
|
+ "tag": "portal",
|
|
|
+ "domain": "reverse.proxy"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "inbounds": [
|
|
|
+ {
|
|
|
+ "tag": "external",
|
|
|
+ "port": 65511,
|
|
|
+ "protocol": "shadowsocks",
|
|
|
+ "settings": {
|
|
|
+ "method": "2022-blake3-aes-256-gcm",
|
|
|
+ "password": "{{ psk external }}",
|
|
|
+ "network": "tcp,udp"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "tag": "interconn",
|
|
|
+ "port": 65510,
|
|
|
+ "protocol": "shadowsocks",
|
|
|
+ "settings": {
|
|
|
+ "method": "2022-blake3-aes-256-gcm",
|
|
|
+ "password": "{{ psk interconn }}",
|
|
|
+ "network": "tcp,udp"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "routing": {
|
|
|
+ "rules": [
|
|
|
+ {
|
|
|
+ "type": "field",
|
|
|
+ "inboundTag": [
|
|
|
+ "external"
|
|
|
+ ],
|
|
|
+ "outboundTag": "portal"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "field",
|
|
|
+ "inboundTag": [
|
|
|
+ "interconn"
|
|
|
+ ],
|
|
|
+ "domain": [],
|
|
|
+ "outboundTag": "portal"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+}
|