diff --git a/conf_DE_eth/config.json b/conf_DE_eth/config.json index c0a620a..db49a2f 100644 --- a/conf_DE_eth/config.json +++ b/conf_DE_eth/config.json @@ -94,9 +94,9 @@ "server": "10.13.213.230", "server_port": 51820, "local_address": [ - "10.10.0.19/24" + "XXX" ], - "private_key": "YPofraCnl5+cze/hCaIrsKlG+KvCoSz2PzyPb9roqk0=", + "private_key": "XXX", "peer_public_key": "9HtCros3QcKqxDelI/LSYL1GAO6jt+YlSxQsvzE2nHk=", "mtu": 1280 }, diff --git a/conf_EE_eth/config.json b/conf_EE_eth/config.json index 52890b2..d85d304 100644 --- a/conf_EE_eth/config.json +++ b/conf_EE_eth/config.json @@ -94,9 +94,9 @@ "server": "10.13.213.230", "server_port": 51820, "local_address": [ - "10.10.0.19/24" + "XXX" ], - "private_key": "YPofraCnl5+cze/hCaIrsKlG+KvCoSz2PzyPb9roqk0=", + "private_key": "XXX", "peer_public_key": "9HtCros3QcKqxDelI/LSYL1GAO6jt+YlSxQsvzE2nHk=", "mtu": 1280 }, diff --git a/conf_FI_WiFi/config2.json b/conf_FI_WiFi/config2.json new file mode 100644 index 0000000..72bc668 --- /dev/null +++ b/conf_FI_WiFi/config2.json @@ -0,0 +1,179 @@ +{ + "log": { + "level": "warn", + "timestamp": true + }, + "dns": { + "strategy": "ipv4_only", + "fakeip": { + "enabled": true, + "inet4_range": "198.18.0.0/15", + "inet6_range": "fc00::/18", + "include_rule": [ + { + "domain_suffix": [ + "gemini.google.com", + "aistudio.google.com", + "alkalimining-pa.googleapis.com", + "proactivebackend-pa.googleapis.com", + "generativelanguage.googleapis.com", + "ai.google.com", + "alkali.google.com", + "oauth2.googleapis.com", + "oauthaccountmanager.googleapis.com", + "robinfrontend-pa.googleapis.com", + "notifications-pa.googleapis.com", + "app-analytics-services.com" + ], + "domain_keyword": [ + "gemini" + ] + } + ] + }, + "servers": [ + { + "tag": "dns-bootstrap", + "address": "8.8.8.8", + "detour": "wi-fi" + }, + { + "tag": "dns-ru", + "address": "77.88.8.8", + "detour": "wi-fi" + }, + { + "tag": "dns-global", + "address": "https://cloudflare-dns.com/dns-query", + "detour": "proxy-vless" + }, + { + "tag": "local", + "address": "local", + "detour": "direct" + } + ], + "rules": [ + { + "domain": [ + "cloudflare-dns.com" + ], + "server": "dns-bootstrap" + }, + { + "domain_suffix": [ + ".ru", + ".su", + ".xn--p1ai" + ], + "server": "dns-ru" + }, + { + "rule_set": "geoip-ru", + "server": "dns-ru" + } + ], + "final": "dns-global" + }, + "inbounds": [ + { + "type": "tun", + "tag": "tun-in", + "interface_name": "sing-box-tun", + "address": [ + "172.19.0.1/30" + ], + "auto_route": true, + "strict_route": true, + "route_exclude_address": [ + "10.0.0.0/8" + ], + "stack": "gvisor", + // "mtu": 1280, + "sniff": true, + "sniff_timeout": "300ms", + "sniff_override_destination": true + } + ], + "outbounds": [ + { + "type": "direct", + "tag": "wi-fi", + "bind_interface": "WiFi", + "domain_strategy": "ipv4_only" + }, +{ + "type": "vless", + "tag": "proxy-vless", + "server": "132.243.202.111", + "server_port": 443, + "uuid": "9abfc5b3-1aa4-4b03-bb9e-031ff89bd898", + "flow": "xtls-rprx-vision", + "tls": { + "enabled": true, + "server_name": "www.asus.com", + "utls": { + "enabled": true, + "fingerprint": "chrome" + }, + "reality": { + "enabled": true, + "public_key": "2YJaw09FMAXLOmtKL6hMFy7qHqnDjek91o5LkAfcyl4", + "short_id": "7aa1a249dc4c792a" + } + }, + "packet_encoding": "xudp", + "detour": "wi-fi", + "domain_strategy": "ipv4_only" +}, + + { + "type": "direct", + "tag": "direct", + //"bind_interface": "Ethernet", + "domain_strategy": "ipv4_only" + } + ], + "route": { + "default_domain_resolver": "dns-bootstrap", + "rule_set": [ + { + "tag": "geoip-ru", + "type": "local", + "format": "binary", + "path": "./../doc/doc.srs" + } + ], + "rules": [ + { + "protocol": "dns", + "action": "hijack-dns" + }, + { + "network": "udp", + "port": 443, + "action": "reject" + }, + { + "domain_suffix": [ + ".ru", + ".su", + ".xn--p1ai" + ], + "outbound": "wi-fi" + }, + { + "rule_set": [ + "geoip-ru" + ], + "outbound": "wi-fi" + }, + { + "ip_cidr": ["10.0.0.0/8"], + "outbound": "direct" + } + ], + "auto_detect_interface": true, + "final": "proxy-vless" + } +} \ No newline at end of file diff --git a/conf_FI_WiFi/s_start2.vbs b/conf_FI_WiFi/s_start2.vbs new file mode 100644 index 0000000..e3101f0 --- /dev/null +++ b/conf_FI_WiFi/s_start2.vbs @@ -0,0 +1,19 @@ +' Блок повышения прав (оставьте его в начале) +If Not WScript.Arguments.Named.Exists("elevate") Then + CreateObject("Shell.Application").ShellExecute "wscript.exe", _ + """" & WScript.ScriptFullName & """ /elevate", "", "runas", 1 + WScript.Quit +End If + +' ИСПРАВЛЕНИЕ: Получаем путь к папке, где лежит ваш VBS-файл +Set fso = CreateObject("Scripting.FileSystemObject") +strPath = fso.GetParentFolderName(WScript.ScriptFullName) + +Set WshShell = CreateObject("WScript.Shell") + +' Запускаем bat-файл, указывая его ПОЛНЫЙ путь +' 0 — скрыть окно, True — ждать завершения (по желанию) +WshShell.Run chr(34) & strPath & "\start2.bat" & Chr(34), 1, True + +Set WshShell = Nothing +Set fso = Nothing diff --git a/conf_FI_WiFi/start2.bat b/conf_FI_WiFi/start2.bat new file mode 100644 index 0000000..5a6d180 --- /dev/null +++ b/conf_FI_WiFi/start2.bat @@ -0,0 +1,7 @@ +@echo off +cd /d "%~dp0" +set ENABLE_DEPRECATED_WIREGUARD_OUTBOUND=true +set ENABLE_DEPRECATED_TUN_ADDRESS_X=true +set ENABLE_DEPRECATED_SPECIAL_OUTBOUNDS=true +.\..\bin\sb.exe run -c config2.json +pause \ No newline at end of file diff --git a/conf_FI_eth/config1.json b/conf_FI_eth/config1.json new file mode 100644 index 0000000..e59c20a --- /dev/null +++ b/conf_FI_eth/config1.json @@ -0,0 +1,171 @@ +{ + "log": { + "level": "warn", + "timestamp": true + }, + "dns": { + "strategy": "ipv4_only", + "fakeip": { + "enabled": true, + "inet4_range": "198.18.0.0/15", + "inet6_range": "fc00::/18", + "include_rule": [ + { + "domain_suffix": [ + "gemini.google.com", + "aistudio.google.com", + "alkalimining-pa.googleapis.com", + "proactivebackend-pa.googleapis.com", + "generativelanguage.googleapis.com", + "ai.google.com", + "alkali.google.com", + "oauth2.googleapis.com", + "oauthaccountmanager.googleapis.com", + "robinfrontend-pa.googleapis.com", + "notifications-pa.googleapis.com", + "app-analytics-services.com" + ], + "domain_keyword": [ + "gemini" + ] + } + ] + }, + "servers": [ + { + "tag": "dns-bootstrap", + "address": "8.8.8.8", + "detour": "proxy-wireguard" + }, + { + "tag": "dns-ru", + "address": "77.88.8.8", + "detour": "proxy-wireguard" + }, + { + "tag": "dns-global", + "address": "https://cloudflare-dns.com/dns-query", + "detour": "proxy-vless" + } + ], + "rules": [ + { + "domain": [ + "cloudflare-dns.com" + ], + "server": "dns-bootstrap" + }, + { + "domain_suffix": [ + ".ru", + ".su", + ".xn--p1ai" + ], + "server": "dns-ru" + }, + { + "rule_set": "geoip-ru", + "server": "dns-ru" + } + ], + "final": "dns-global" + }, + "inbounds": [ + { + "type": "tun", + "tag": "tun-in", + "interface_name": "sing-box-tun", + "address": [ + "172.19.0.1/30" + ], + "auto_route": true, + "strict_route": true, + "stack": "gvisor", + "mtu": 1280, + "sniff": true, + "sniff_timeout": "300ms", + "sniff_override_destination": true + } + ], + "outbounds": [ + { + "type": "wireguard", + "tag": "proxy-wireguard", + "server": "10.13.213.230", + "server_port": 51820, + "local_address": [ + "10.10.0.19/24" // Change + ], + "private_key": "YPofraCnl5+cze/hCaIrsKlG+KvCoSz2PzyPb9roqk0=", // Change + "peer_public_key": "9HtCros3QcKqxDelI/LSYL1GAO6jt+YlSxQsvzE2nHk=", + "mtu": 1280 + }, +{ + "type": "vless", + "tag": "proxy-vless", + "server": "132.243.202.111", + "server_port": 443, + "uuid": "9abfc5b3-1aa4-4b03-bb9e-031ff89bd898", + "flow": "xtls-rprx-vision", + "tls": { + "enabled": true, + "server_name": "www.asus.com", + "utls": { + "enabled": true, + "fingerprint": "chrome" + }, + "reality": { + "enabled": true, + "public_key": "2YJaw09FMAXLOmtKL6hMFy7qHqnDjek91o5LkAfcyl4", + "short_id": "7aa1a249dc4c792a" + } + }, + "packet_encoding": "xudp", + "detour": "proxy-wireguard", + "domain_strategy": "ipv4_only" +}, + + { + "type": "direct", + "tag": "direct" + } + ], + "route": { + "default_domain_resolver": "dns-bootstrap", + "rule_set": [ + { + "tag": "geoip-ru", + "type": "local", + "format": "binary", + "path": "./../doc/doc.srs" + } + ], + "rules": [ + { + "protocol": "dns", + "action": "hijack-dns" + }, + { + "network": "udp", + "port": 443, + "action": "reject" + }, + { + "domain_suffix": [ + ".ru", + ".su", + ".xn--p1ai" + ], + "outbound": "proxy-wireguard" + }, + { + "rule_set": [ + "geoip-ru" + ], + "outbound": "proxy-wireguard" + } + ], + "auto_detect_interface": true, + "final": "proxy-vless" + } +} \ No newline at end of file diff --git a/conf_FI_eth/s_start1.vbs b/conf_FI_eth/s_start1.vbs new file mode 100644 index 0000000..1713833 --- /dev/null +++ b/conf_FI_eth/s_start1.vbs @@ -0,0 +1,19 @@ +' Блок повышения прав (оставьте его в начале) +If Not WScript.Arguments.Named.Exists("elevate") Then + CreateObject("Shell.Application").ShellExecute "wscript.exe", _ + """" & WScript.ScriptFullName & """ /elevate", "", "runas", 1 + WScript.Quit +End If + +' ИСПРАВЛЕНИЕ: Получаем путь к папке, где лежит ваш VBS-файл +Set fso = CreateObject("Scripting.FileSystemObject") +strPath = fso.GetParentFolderName(WScript.ScriptFullName) + +Set WshShell = CreateObject("WScript.Shell") + +' Запускаем bat-файл, указывая его ПОЛНЫЙ путь +' 0 — скрыть окно, True — ждать завершения (по желанию) +WshShell.Run chr(34) & strPath & "\start1.bat" & Chr(34), 1, True + +Set WshShell = Nothing +Set fso = Nothing diff --git a/conf_FI_eth/start1.bat b/conf_FI_eth/start1.bat new file mode 100644 index 0000000..391fd22 --- /dev/null +++ b/conf_FI_eth/start1.bat @@ -0,0 +1,7 @@ +@echo off +cd /d "%~dp0" +set ENABLE_DEPRECATED_WIREGUARD_OUTBOUND=true +set ENABLE_DEPRECATED_TUN_ADDRESS_X=true +set ENABLE_DEPRECATED_SPECIAL_OUTBOUNDS=true +.\..\bin\sb.exe run -c config1.json +pause \ No newline at end of file