全球主机交流论坛

标题: 【请教】关于利用X-UI配置NAT解锁机进行解锁 [打印本页]

作者: cheese    时间: 2023-12-19 22:37
标题: 【请教】关于利用X-UI配置NAT解锁机进行解锁

手里有一台NAT机,带ipv6,目前v4/v6都可以解锁,想请教一下以下配置该如何更改,才能使用解锁机的ipv6进行解锁?
对这个基本不太懂,希望大佬可以说的详细点

{
    "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"
      },
      {
        "tag": "luodi" ,
        "protocol": "vmess",
        "settings": {
          "vnext": [{
            "address": "1.2.3.4",
            "port": 37153,
            "users": [{
              "id": "-d8ca-4605-bcef-e559d5c2c54a",
              "security": "auto",
              "alterId": 0  
            }]
          }]
        }
      }
    ],
    "policy": {
      "system": {
        "statsInboundDownlink": true,
        "statsInboundUplink": true
      }
    },
    "routing": {
      "rules": [
        {
          "inboundTag": [
            "api"
          ],
          "outboundTag": "api",
          "type": "field"
        },
        {
          "ip": [
            "geoip:private"
          ],
          "outboundTag": "blocked",
          "type": "field"
        },
        {
          "outboundTag": "blocked",
          "protocol": [
            "bittorrent"
          ],
          "type": "field"
        },
  {
          "type": "field",
          "outboundTag": "luodi",
          "domain": ["geosite:netflix","nflxvideo.net","nflxext.com","nflxso.net"]
  }  
  ]
    },
    "stats": {}
  }

作者: woputby    时间: 2023-12-19 22:41
解锁不了就别解了

找个种子,115或度盘,一样可以在线看,还不用额外花钱
作者: cheese    时间: 2023-12-19 22:42
woputby 发表于 2023-12-19 22:41
解锁不了就别解了

找个种子,115或度盘,一样可以在线看,还不用额外花钱 ...

我这个配置,V4可以解
作者: qqlikeho    时间: 2023-12-19 22:43
outbound加个V6然后路由选outbound TAG就行了.
不会就去问GPT.
作者: jessegold    时间: 2023-12-19 22:53
https://toutyrater.github.io/app/netflix.html
看这个里面了,sendthrough
作者: 叶晗云    时间: 2023-12-19 22:57
劫持dns吧直接
作者: CodyDoby    时间: 2023-12-19 23:20


小尾巴翘起来

作者: Kanna    时间: 2023-12-19 23:23
      {
        "protocol": "freedom",
          "settings": {}
      },

改成
      {
      "tag": "ip6",
      "protocol": "freedom",
      "settings": {
      "domainStrategy": "UseIPv6"
      }
      },
      {
      "tag": "ip4",
      "protocol": "freedom",
      "settings": {
      "domainStrategy": "UseIPv4"
      }
      },

这样ipv6就优先了
作者: mumusan2023    时间: 2023-12-20 02:30
NAT直接用一键设置IPV6优先就行了
bash <(curl -Lso- https://sh.vps.dance/ip46.sh)
作者: cheese    时间: 2023-12-20 14:01
Kanna 发表于 2023-12-19 23:23
{
        "protocol": "freedom",
          "settings": {}

十分感谢




欢迎光临 全球主机交流论坛 (https://443502.xyz/) Powered by Discuz! X3.4