pltian-Plnl‘s Blog-第2页
pltian的头像-Plnl‘s Blog
管理员
这家伙很懒,什么都没有写...
放行中国区域ipv6流量,禁止其他v6流量进出-Plnl‘s Blog

放行中国区域ipv6流量,禁止其他v6流量进出

📌 目标✅ 仅允许中国主要 IPv6 地址段的 出站 和 入站✅ 阻止所有其他 IPv6 出站和入站流量完整操作步骤🟢 步骤 1:安装 ipset 和 iptables-persistent首先,确保系统安装了 ipset(用于管理 I...
双栈vps 设置ipv4 优先出站,ipv6 可以正常入栈-Plnl‘s Blog

双栈vps 设置ipv4 优先出站,ipv6 可以正常入栈

在双栈(IPv4 + IPv6)的 VPS 上,你希望 出站流量优先使用 IPv4,但 IPv6 仍然可以正常入站,可以通过以下方法实现: 方法 1:调整系统的 precedence 优先级 Linux 使用 getaddrinfo() 进行域...
如何将 Debian 11 升级到 Debian 12-Plnl‘s Blog

如何将 Debian 11 升级到 Debian 12

 最新的 Debian 12 其内核使用 Linux 6.1 内核系列,系统的软件也都是用了较新的版本,很有必要将你的 Debian 11 升级到 Debian 12 了。本文将介绍如何从 Debian 11 升级到 Debian 12 。准备条...
IPv6访问GitHub-Plnl‘s Blog

IPv6访问GitHub

GitHub仍不支持IPv6,但是可以使用指定host到代理服务器实现cat >> /etc/hosts << EOF # https://danwin1210.de/github-ipv6-proxy.php 2a01:4f8:c010:d56::2 github.com 2a01:4f8:...
Centos7禁用密码登录方法:-Plnl‘s Blog

Centos7禁用密码登录方法:

编辑/etc/ssh/sshd_config 将PasswordAuthentication参数值修改为no: PasswordAuthentication no 重启ssh服务:systemctl restart sshd.service