ubuntu 防火墙
来源:互联网 发布:网络文体传统文体辩论 编辑:程序博客网 时间:2024/05/24 07:15
sudo ufw status查看防火墙状态
lychie@ubuntu:/$ sudo ufw status
Status: active
Status: active
sudo ufw disable关闭防火墙
lychie@ubuntu:/$ sudo ufw disable
Firewall stopped and disabled on system startup
lychie@ubuntu:/$ sudo ufw status
Status: inactive
Firewall stopped and disabled on system startup
lychie@ubuntu:/$ sudo ufw status
Status: inactive
sudo ufw enable启动防火墙
lychie@ubuntu:/$ sudo ufw enable
Firewall is active and enabled on system startup
lychie@ubuntu:/$ sudo ufw status
Status: active
Firewall is active and enabled on system startup
lychie@ubuntu:/$ sudo ufw status
Status: active
sudo ufw allow 端口打开某个端口
lychie@ubuntu:/$ sudo ufw allow 22
Rule added
Rule added (v6)
lychie@ubuntu:/$ sudo ufw status
Status: active
To Action From
-- ------ ----
22 ALLOW Anywhere
22 (v6) ALLOW Anywhere (v6)
Rule added
Rule added (v6)
lychie@ubuntu:/$ sudo ufw status
Status: active
To Action From
-- ------ ----
22 ALLOW Anywhere
22 (v6) ALLOW Anywhere (v6)
sudo ufw delete allow 端口关闭某个端口
lychie@ubuntu:/$ sudo ufw delete allow 22
Rule deleted
Rule deleted (v6)
lychie@ubuntu:/$ sudo ufw status
Status: active
Rule deleted
Rule deleted (v6)
lychie@ubuntu:/$ sudo ufw status
Status: active
1 0
- ubuntu防火墙
- 防火墙 -- Ubuntu
- ubuntu 防火墙
- Ubuntu 防火墙
- ubuntu 防火墙
- ubuntu 防火墙
- ubuntu 防火墙
- ubuntu 防火墙
- ubuntu防火墙
- ubuntu防火墙
- Ubuntu防火墙
- ubuntu ufw防火墙
- ubuntu ufw防火墙
- ubuntu关闭防火墙
- ubuntu默认防火墙
- ubuntu iptables模拟防火墙
- Ubuntu 关闭防火墙方法
- ubuntu关闭防火墙
- HDOJ 题目1299 Diophantus of Alexandria(数学)
- ubuntu下安装mysql
- java 关于反序列化报header错误解决方案
- HDOJ 题目3938 Portal(带权值并查集+离线)
- Lua中的require package.path
- ubuntu 防火墙
- 贵在坚持
- this 关键字
- 桶排序的应用
- 关于循环赛日程表算法的研究
- php学习(一)
- ubuntu使用技巧
- ORA-21561、ORA-15055、ORA-25253 导致DG备库无法应用归档
- GNU make 指南