Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorMHSanaei <33454419+MHSanaei@users.noreply.github.com>2023-03-29 00:37:58 +0300
committerMHSanaei <33454419+MHSanaei@users.noreply.github.com>2023-03-29 00:37:58 +0300
commit8b855a7cb5dccb37feb8412f310dfc6d2804a59f (patch)
tree8bbcfc5d841069ad8cefb6bb9a20b1d52cd39602 /media
parent80759c8951d1f3108310b857a65260cb94a2e6c2 (diff)
enable traffic + block IR domain
Diffstat (limited to 'media')
-rw-r--r--media/4.pngbin47513 -> 162912 bytes
-rw-r--r--media/enable-traffic+block-IR-IP.txt (renamed from media/for enable traffic+block all iran ip.txt)1
-rw-r--r--media/enable-traffic+block-IR-domain.txt81
-rw-r--r--media/enable-traffic.txt (renamed from media/for enable traffic.txt)1
4 files changed, 81 insertions, 2 deletions
diff --git a/media/4.png b/media/4.png
index 2cd2ecf0..b58f520e 100644
--- a/media/4.png
+++ b/media/4.png
Binary files differ
diff --git a/media/for enable traffic+block all iran ip.txt b/media/enable-traffic+block-IR-IP.txt
index 8947f066..b1a1178f 100644
--- a/media/for enable traffic+block all iran ip.txt
+++ b/media/enable-traffic+block-IR-IP.txt
@@ -3,7 +3,6 @@
"loglevel": "warning",
"access": "./access.log"
},
-
"api": {
"services": [
"HandlerService",
diff --git a/media/enable-traffic+block-IR-domain.txt b/media/enable-traffic+block-IR-domain.txt
new file mode 100644
index 00000000..efd548c0
--- /dev/null
+++ b/media/enable-traffic+block-IR-domain.txt
@@ -0,0 +1,81 @@
+{
+ "log": {
+ "loglevel": "warning",
+ "access": "./access.log"
+ },
+ "api": {
+ "services": [
+ "HandlerService",
+ "LoggerService",
+ "StatsService"
+ ],
+ "tag": "api"
+ },
+ "inbounds": [
+ {
+ "listen": "127.0.0.1",
+ "port": 62789,
+ "protocol": "dokodemo-door",
+ "settings": {
+ "address": "127.0.0.1"
+ },
+ "tag": "api"
+ }
+ ],
+ "outbounds": [
+ {
+ "protocol": "freedom",
+ "settings": {}
+ },
+ {
+ "protocol": "blackhole",
+ "settings": {},
+ "tag": "blocked"
+ }
+ ],
+ "policy": {
+ "levels": {
+ "0": {
+ "statsUserUplink": true,
+ "statsUserDownlink": true
+ }
+ },
+ "system": {
+ "statsInboundDownlink": true,
+ "statsInboundUplink": true
+ }
+ },
+ "routing": {
+ "rules": [
+ {
+ "inboundTag": [
+ "api"
+ ],
+ "outboundTag": "api",
+ "type": "field"
+ },
+ {
+ "domain": [
+ "regexp:.+.ir$"
+ ],
+ "outboundTag": "blocked",
+ "type": "field"
+ },
+ {
+ "outboundTag": "blocked",
+ "protocol": [
+ "bittorrent"
+ ],
+ "type": "field"
+ },
+ {
+ "outboundTag": "blocked",
+ "ip": [
+ "geoip:private"
+ ],
+ "type": "field"
+ }
+ ]
+ },
+ "stats": {}
+} \ No newline at end of file
diff --git a/media/for enable traffic.txt b/media/enable-traffic.txt
index fd3c2370..0acbd3aa 100644
--- a/media/for enable traffic.txt
+++ b/media/enable-traffic.txt
@@ -3,7 +3,6 @@
"loglevel": "warning",
"access": "./access.log"
},
-
"api": {
"services": [
"HandlerService",