Инструменты пользователя

Инструменты сайта


asus_ax4200_proxy

Это старая версия документа!


ASUS AX4200 Proxy (Socks5) на порту 2080

[SwitchyOmega Conditions]
@with result

*.kaspersky-labs.com +direct
*.yandex.ru +direct
*.dokuwiki.org +proxy
*.chatgpt.com +proxy
*.openai.com +proxy
*.oaistatic.com +proxy
*.oaiusercontent.com +proxy
*.chat.com +proxy
*.claude.ai +proxy
*.claude.com +proxy
*.anthropic.com +proxy
*.claudeusercontent.com +proxy
*.youtube.com +proxy
*.googlevideo.com +proxy
*.ytimg.com +proxy
*.grok.com +proxy

* +direct
cat >> /etc/sysctl.conf <<'EOF'
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
EOF
sysctl -p

sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1

Чтобы пережило перезагрузку, пропишите это в /etc/sysctl.conf
cat > /etc/sysctl.d/99-disable-ipv6.conf << 'EOF'
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
EOF

sysctl --system



В конфиге Xray на FIN-ноде (или в 3x-ui: Настройки Xray → Outbounds → direct):
{
  "protocol": "freedom",
  "tag": "direct",
  "settings": { "domainStrategy": "UseIPv4" }
}

Если на FIN стоит sing-box (версия 1.12+), в direct-outbound:
"domain_resolver": { "server": "local", "strategy": "ipv4_only" }
curl.exe -x socks5h://192.168.99.183:2080 https://ipinfo.io
Параметр socks5h:// указывает выполнять DNS-резолвинг на стороне прокси, исключая локальные утечки
{
  "ip": "94.156.116.115",
  "city": "Helsinki",
  "region": "Uusimaa",
  "country": "FI",
  "loc": "60.1695,24.9354",
  "org": "AS26383 Baxet Group Inc.",
  "postal": "00100",
  "timezone": "Europe/Helsinki",
  "readme": "https://ipinfo.io/missingauth"
}
https://chatgpt.com/cdn-cgi/trace
В строке ip= должен быть адрес прокси-сервера, а в loc= не RU. 
Если так и есть, chatgpt.com и claude.ai должны открываться.
ASUS: проброс порта с WAN на прокси

uci add firewall redirect
uci set firewall.@redirect[-1].name='podkop-proxy-99'
uci set firewall.@redirect[-1].target='DNAT'
uci set firewall.@redirect[-1].src='wan'
uci set firewall.@redirect[-1].src_ip='192.168.99.0/24'
uci set firewall.@redirect[-1].src_dport='2080'
uci set firewall.@redirect[-1].proto='tcp'
uci set firewall.@redirect[-1].dest='lan'
uci set firewall.@redirect[-1].dest_ip='192.168.1.1'
uci set firewall.@redirect[-1].dest_port='2080'
uci commit firewall
service firewall restart
asus_ax4200_proxy.1790193181.txt.gz · Последнее изменение: — bonterkoz

Если не указано иное, содержимое этой вики предоставляется на условиях следующей лицензии: CC Attribution 4.0 International
CC Attribution 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki