国外小鸡 大家都可以简单的通过warp获得ipv4访问
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh
受大环境影响 国内纯ipv6小鸡 就没办法那么简单解决
并且 ipv6耻辱墙上的github 也没法访问 想安装编译个什么 会有无尽的麻烦
我这里提供一个偏门方案 通过tailscale组网 设置exit-node 来解决网络问题
exit-node 节点安装设置
Add Tailscale's package signing key and repository:
curl -fsSL https://pkgs.tailscale.com/stable/debian/bookworm.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null
curl -fsSL https://pkgs.tailscale.com/stable/debian/bookworm.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list
Install Tailscale:
sudo apt-get update
sudo apt-get install tailscale
sudo tailscale up
Connect your machine to your Tailscale network and authenticate in your browser:
访问链接完成授权
启用 IP 转发才能将 Linux 设备播报为出口节点。
echo 'net.ipv4.ip_forward = 1' | sudo tee -a /etc/sysctl.conf
echo 'net.ipv6.conf.all.forwarding = 1' | sudo tee -a /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf
sudo tailscale set --advertise-exit-node
sudo tailscale up
进入面板 https://login.tailscale.com/admin/machines
点击刚刚安装的设备选择Edit route settings
Use as exit node 打勾
ipv6小鸡设置
点击 Generate install script
curl -fsSL https://tailscale.com/install.sh | sh && sudo tailscale up --auth-key=xxxxxx
获取后在小鸡上执行
设置exit-node
运行
tailscale status
找到node ip
tailscale set --exit-node=<exit-node-ip> --exit-node-allow-lan-access=true
替换<exit-node-ip>后执行 完成操作
恭喜您 可以愉快的这折腾了。~~~