安装Docker
官方:
1 | curl -fsSL https://get.docker.com | bash -s docker |
阿里云:
1 | curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun |
安装面板
3x-ui
1 | bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) |
s-ui(推荐)
1 | bash <(curl -Ls https://raw.githubusercontent.com/alireza0/s-ui/master/install.sh) |
h-ui
1 | bash <(curl -fsSL https://raw.githubusercontent.com/jonssonyan/h-ui/main/install.sh) |
流媒体解锁
1 | bash <(curl -L -s raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh) |
安装ZTNET面板
1 | apt update && apt install -y sudo curl lsb-release |
安装ZeroTier
1 | curl -s https://install.zerotier.com | sudo bash |
关闭IPv6
临时关闭
1 | sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 && sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1 |
永久关闭
1 | echo -e "net.ipv6.conf.all.disable_ipv6=1\nnet.ipv6.conf.default.disable_ipv6=1\nnet.ipv6.conf.lo.disable_ipv6=1" >> /etc/sysctl.conf && sysctl -p |
FRRouting + WireGuard BGP配置
1 | sudo apt install frr wireguard |
1 | vim /etc/frr/daemons |
1 | 启用 NAT |
1 | vtysh |
国际互联区
1 | configure terminal |
中国互联区
1 | configure terminal |
查看bgp状况
1 | show ip bgp summary |
