debian/Ubuntu simple firewall setupthing
Super simple firewall configuration for debian/Ubuntu system
Windows has been running naked for years
But Linux systems are more complex, especially servers that are exposed to the public network, so a simple configuration of the firewall is necessary
The firewall described here is ufw and is theoretically applicable to all debian/Ubuntu distribution based systems
ufw seting ufw seting
Install firewall management software ufw
Apt to get the install ufw
Here's a simple ufw firewall configuration command
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
apt-get install ufw
#install ufw for ubuntn/debian
ufw allow ssh
#allow ssh port 22
ufw allow 80
ufw allow 192.168.0.8
ufw allow 192.168.0.8/tcp
#ufw enable
setup ufw boot
ufw status
#ufw run check
ufw delete allow 80
#disable 80
ufw reload
#ufw rules reload
💘 相关文章
- ubuntu/Debian出现 libcrypto.so.1.1: cannot open shared object file:的解决方法
- 在ubuntu和Debian系统单网卡绑定多个IP v6地址的方法
- how can do speed test network for debian /ubuntu?
- debian/Ubuntu系统超级简单的防火墙配置
- ubuntu、debian等Linux系统ssh登陆显示系统信息的软件推荐
- Debian/ubuntu system delete docker virtual bridge
- debian,ubuntu赋予普通用户绑定端口权限的方法
- debian/ubuntu系统删除docker虚拟网桥
- debian /ubuntu系统安装测速软件的方法
- 使用Hyper-V創建Debian minimal