添加描述文件
This commit is contained in:
parent
7162d654cd
commit
5c18119861
24
README.md
Normal file
24
README.md
Normal file
@ -0,0 +1,24 @@
|
||||
# <p align="center">屏蔽外部IP</p>
|
||||
## 程序
|
||||
iptables<br>
|
||||
### 程序安装
|
||||
```c
|
||||
sudo su
|
||||
apt update
|
||||
apt install iptables
|
||||
```
|
||||
## 配置可执行程序
|
||||
```c
|
||||
# 编辑脚本或直接将文件放入指定目录
|
||||
vim ~/uplink_outbound.sh
|
||||
|
||||
# 赋予执行权限
|
||||
chmod +x ~/uplink_outbound.sh
|
||||
|
||||
# 启动程序
|
||||
./uplink_outbound.sh
|
||||
```
|
||||
## 注意
|
||||
注意部分程序运行需要用到上行带宽,完全屏蔽可能引发问题。<br>
|
||||
可以放行部分地区的ip来保证大部分程序正常运行。<br>
|
||||
你可以在[`iplist`](https://github.com/metowolf/iplist)项目中查看所需地区的IP段。
|
Loading…
x
Reference in New Issue
Block a user