Debian10 VPS 添加 IPv6 解锁 Netflix
本文最后更新于 510 天前,其中的信息可能已经有所发展或是发生改变。

1、注册隧道

https://www.tunnelbroker.net/ 账号:Sanqi123z

左侧 Create Regular Tunnel

Example Configurations

选Debian/Ubuntu

得到配置文件

auto he-ipv6
iface he-ipv6 inet6 v4tunnel
  address 2001:470:35:360::2
  netmask 64
  endpoint 216.218.221.42
  local 192.3.128.27
  ttl 255
  gateway 2001:470:35:360::1

2、通过小工具,批量生成ipv6地址

https://bulianglin.com/archives/ipv6.html

3、修改配置文件

auto he-ipv6
iface he-ipv6 inet6 v4tunnel
        address 2001:470:35:360::2
        netmask 64
        endpoint 216.218.221.42
        local 192.3.128.27
        ttl 255
        gateway 2001:470:35:360::1
        up ip addr add 2001:470:35:360:dec:74d2:4980:ef41/64 dev he-ipv6  
        up ip addr add 2001:470:35:360:52bf:5259:3978:4a68/64 dev he-ipv6  
        up ip addr add 2001:470:35:360:5d0e:3136:3409:d641/64 dev he-ipv6  
        up ip addr add 2001:470:35:360:8aaa:3191:5a:f5b9/64 dev he-ipv6  
        up ip addr add 2001:470:35:360:5ccf:a80f:ebd8:9167/64 dev he-ipv6  
        up ip addr add 2001:470:35:360:1865:c475:85f1:27ec/64 dev he-ipv6  
        up ip addr add 2001:470:35:360:5f32:f7e9:36e5:128b/64 dev he-ipv6  
        up ip addr add 2001:470:35:360:f8f7:d345:5f8:96fa/64 dev he-ipv6  
        up ip addr add 2001:470:35:360:1b4b:5399:4905:27ea/64 dev he-ipv6  
        up ip addr add 2001:470:35:360:ba4a:2ab8:ec9c:3c63/64 dev he-ipv6  

4、Debian开启ipv6

/etc/sysctl.conf中填写以下内容,填写完成后执行sysctl -p 使之生效。

net.ipv6.conf.all.disable_ipv6 = 0    
net.ipv6.conf.default.disable_ipv6 = 0    
net.ipv6.conf.lo.disable_ipv6 = 0

/etc/resolv.conf填写以下内容用以解析Ipv6:

nameserver 2001:4860:4860::8888

/etc/network/interfaces中,将上面那段内容填入

填写完成后,执行ifup he-ipv6确保ipv6生效

若隧道已经存在,执行 ip tun del he-ipv6 删除已经存在的隧道。

#下载检测解锁Netflix程序
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/v3.1.0/nf_linux_amd64 && chmod +x nf

#执行
./nf

#通过代理执行(warp)
./nf -proxy socks5://127.0.0.1:40000

5、搭建socks代理

bash <(curl -fsSLk https://raw.githubusercontent.com/bulianglin/demo/main/xrayL.sh) socks

起始端口:20000
结束端口:20012
socks账号:zzh
socks密码:

6、测试当前端口走哪个IP

https://limit.888005.xyz/

7、xrayL配置文件

[[inbounds]]
port = 20002
protocol = "vmess"
tag = "tag_3"
[inbounds.settings]
[[inbounds.settings.clients]]
id = "8ecef9da-853b-43ee-8e22-f6bfecdad3e0"
[inbounds.streamSettings]
network = "ws"
[inbounds.streamSettings.wsSettings]
path = "ipv6"

[[outbounds]]
sendThrough = "2001:470:35:360:ba4a:2ab8:ec9c:3c63"
protocol = "freedom"
tag = "tag_3"

[[routing.rules]]
type = "field"
inboundTag = "tag_3"
outboundTag = "tag_3"



[[inbounds]]
port = 20002
protocol = "socks"
tag = "tag_3"
[inbounds.settings]
auth = "password"
udp = true
ip = "2001:470:35:360:ba4a:2ab8:ec9c:3c63"
[[inbounds.settings.accounts]]
user = "zzh"
pass = "Zzh125475"
[[outbounds]]
sendThrough = "2001:470:35:360:ba4a:2ab8:ec9c:3c63"
protocol = "freedom"
tag = "tag_3"

[[routing.rules]]
type = "field"
inboundTag = "tag_3"
outboundTag = "tag_3"

暂无评论

发送评论 编辑评论


				
上一篇
下一篇