Openwrt 防火墙针对入站IP允许或限制设置
OpenWrt 防火墙 IP 访问限制与端口转发一、简单操作:直接修改 `/etc/config/firewall` 配置文件1. 限制 IP 访问**步骤**1. **SSH 登录 OpenWrt** 后,编辑 `/etc/config/firewall`:vi /etc/co...
放行中国区域ipv6流量,禁止其他v6流量进出
📌 目标✅ 仅允许中国主要 IPv6 地址段的 出站 和 入站✅ 阻止所有其他 IPv6 出站和入站流量完整操作步骤🟢 步骤 1:安装 ipset 和 iptables-persistent首先,确保系统安装了 ipset(用于管理 I...
如何将 Debian 11 升级到 Debian 12
最新的 Debian 12 其内核使用 Linux 6.1 内核系列,系统的软件也都是用了较新的版本,很有必要将你的 Debian 11 升级到 Debian 12 了。本文将介绍如何从 Debian 11 升级到 Debian 12 。准备条...
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禁用密码登录方法:
编辑/etc/ssh/sshd_config 将PasswordAuthentication参数值修改为no: PasswordAuthentication no 重启ssh服务:systemctl restart sshd.service