椰子的笔记 - Proxmox
type: channel
link: https://iscoconut.com/tag/Proxmox/
items: PVE防火墙实现禁止国内入向流量和国际出向流量
items: Proxmox VE 8 国内源【清华大学源】

PVE防火墙实现禁止国内入向流量和国际出向流量
type: item
date: 2024-01-22T22:15:00+08:00
description: 简述禁止国内出向流量，但是放开部分白名单：清华大学/北京大学镜像站，阿里云DNS6服务器 2400:3200::1创建数据中心防火墙，并使用脚本让小鸡自动加入数据中心安全组实操数据中心防火墙设置： /etc/pve/firewall/cluster.fw[OPTIONS] enable: 1 policy_in: ACCEPT [IPSET chnroute] 2001:250:2000::/35 2001:250:4000::/34 2001:250:8000::/33 2001:250::/35 2001:251::/32 2001:252::/32 2001:253::/32 2001:254::/32 2001:255::/32 2001:256::/32 2001:4438::/32 2001:4510::/29 2001:7fa:10::/48 2001:7fa:5::/48 2001:c68::/32 2001:cc0::/32 2001:da8::/32 2001:da9::/32 2001:daa::/32 2001:dc7::/32 2001:dd8:1::/48 2001:dd8:1a::/48 2001:dd8:5::/48 2001:dd9::/48 2001:df0:1bc0::/48 2001:df0:25c0::/48 2001:df0:26c0::/48 2001:df0:27e::/48 2001:df0:2e00::/48 2001:df0:2e80::/48 2001:df0:423::/48 2001:df0:59c0::/48 2001:df0:85c0::/48 2001:df0:8d40::/48 2001:df0:9c0::/48 2001:df0:9d40::/48 2001:df0:ac40::/48 2001:df0:b180::/48 2001:df0:bf80::/48 2001:df0:d880::/48 2001:df0:f8c0::/48 2001:df1:2b40::/48 2001:df1:4580::/48 2001:df1:5280::/48 2001:df1:5b80::/48 2001:df1:5fc0::/48 2001:df1:6180::/48 2001:df1:61c0::/48 2001:df1:6b80::/48 2001:df1:a100::/48 2001:df1:bd80::/48 2001:df1:c80::/48 2001:df1:c900::/48 2001:df1:d180::/48 2001:df1:da00::/48 2001:df1:f480::/48 2001:df1:f580::/48 2001:df1:fd80::/48 2001:df2:180::/48 2001:df2:5780::/48 2001:df2:80::/48 2001:df2:8bc0::/48 2001:df2:a580::/48 2001:df2:c240::/48 2001:df2:d4c0::/48 2001:df3:1480::/48 2001:df3:15c0::/48 2001:df3:2a80::/48 2001:df3:3a80::/48 2001:df3:a680::/48 2001:df3:b380::/48 2001:df3:c380::/48 2001:df3:c680::/48 2001:df3:d880::/48 2001:df3:ed80::/48 2001:df3:ef80::/48 2001:df4:1280::/48 2001:df4:1500::/48 2001:df4:1880::/48 2001:df4:2780::/48 2001:df4:2e80::/48 2001:df4:3d80::/48 2001:df4:4b80::/48 2001:df4:4d80::/48 2001:df4:880::/48 2001:df4:a680::/48 2001:df4:a980::/48 2001:df4:c180::/48 2001:df4:c580::/48 2001:df4:c780::/48 2001:df4:cf00::/48 2001:df4:d80::/48 2001:df4:de80::/48 2001:df5:2080::/48 2001:df5:5f80::/48 2001:df5:7800::/48 2001:df6:100::/48 2001:df6:3d00::/48 2001:df6:5d00::/48 2001:df6:6800::/48 2001:df6:9e80::/48 …

Proxmox VE 8 国内源【清华大学源】
type: item
date: 2024-01-22T12:45:14+08:00
description: 下面给出的都是一件命令，如需详细信息请打开参考资料将debian12源替换为清华大学源echo " # 默认注释了源码镜像以提高 apt update 速度，如有需要可自行取消注释 deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware # deb-src https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware "> /etc/apt/sources.list 将pve源替换为清华大学源echo " deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian/pve bookworm pve-no-subscription " > /etc/apt/sources.list.d/pve-enterprise.list 参考资料：https://mirrors.tuna.tsinghua.edu.cn/help/debian/https://mirrors.tuna.tsinghua.edu.cn/help/proxmox/