分类 Linux 下的文章
纯IPV6服务器使用WARP
一、使用NAT64NAT64可以使IPV6服务器,有访问IPV4资源的能力echo -e "nameserver 2a01:4f8:c2c:123f::1\nnameserver 2a01:4f9:c010:3f02::1" | tee /etc/resolv.conf二. 安装使用WARP根据系统安装 Cloudflare WARP软件包实例Debian12安装warpapt instal...
2025-01-09
PVE NAT规则 示例
均基于apt install iptables-persistent独立IPiptables -t nat -A PREROUTING -d 公网 -j DNAT --to-destination 内网
ip6tables -t nat -A PREROUTING -d 公网 -j DNAT --to-destination 内网 NAT公网端口iptables -t nat -A PRE...
2024-09-28
甲骨文ARM服务器安装PVE
设置host1.设置主机名hostnamectl set-hostname pve.example.com --static
2.设置host,xxx替换成自己IPrm /etc/hosts
echo "127.0.0.1 localhost" >> /etc/hosts
echo "::1 localhost ip6-localhost ip6-loopback" >&g...
2024-09-23
CentOS7过期源配置
CentOS7已于2024年6月30日正式停止维护备份旧的yum源mkdir -p /etc/yum.repos.d/bak
mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/bak/配置Centos7源#阿里源 x86
curl -o /etc/yum.repos.d/Centos7-aliyun.repo https://mirrors.wlnm...
2024-09-23