From 5c18119861993f221988ccaeaed37acdbf86f010 Mon Sep 17 00:00:00 2001 From: Cx330 <1487537121@qq.com> Date: Mon, 19 May 2025 18:00:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8F=8F=E8=BF=B0=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..ff7c4fd --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +#

屏蔽外部IP

+## 程序 +iptables
+### 程序安装 +```c +sudo su +apt update +apt install iptables +``` +## 配置可执行程序 +```c +# 编辑脚本或直接将文件放入指定目录 +vim ~/uplink_outbound.sh + +# 赋予执行权限 +chmod +x ~/uplink_outbound.sh + +# 启动程序 +./uplink_outbound.sh +``` +## 注意 +注意部分程序运行需要用到上行带宽,完全屏蔽可能引发问题。
+可以放行部分地区的ip来保证大部分程序正常运行。
+你可以在[`iplist`](https://github.com/metowolf/iplist)项目中查看所需地区的IP段。 \ No newline at end of file