当前位置:网站首页>Detailed firewall firewall
Detailed firewall firewall
2022-08-09 15:32:00 【getting warmer】
linux open ports
1. Temporary port, invalid after restarting the firewall or server
firewall-cmd --zone=public --add-port=8053/tcp
2. Permanent Port
# Permanently open the port, you need to restart the firewall after executionfirewall-cmd --permanent --zone=public --add-port=80/tcpfirewall-cmd --reload refresh takes effect
3. View the list of open ports
# linux View the list of open portsfirewall-cmd --list-all
Firewall on and off
1, restart, close, open firewalld.service service
service firewalld restart restartservice firewalld start openservice firewalld stop shutdown
2. View firewall service status
systemctl status firewall
3. Check the status of firewall
firewall-cmd --state
边栏推荐
- RHCE Course Summary
- Bubble sort (detailed)
- Shell course summary
- 冰冰学习笔记:new与delete
- Word numbering and text spacing are too large
- *3-2 CCF 2014-09-2 drawing
- dpkg: error: cannot new file '/var/lib/dpkg/info/format-new': no
- apt-get install 和pip install 的区别
- 除非另外还指定了 TOP、OFFSET 或 FOR XML,否则,ORDER BY 子句在视图、内联函数、派生表、子查询和公用表表达式中无效
- 同步锁synchronized追本溯源
猜你喜欢
随机推荐
shell课程总结
* 3-3 cattle from rearranged
实践数据湖iceberg 第三十八课 spark sql, Procedures语法进行数据治理(小文件合并,清理快照)
在Word中如何调整编号和文字之间的间距?
Difference between apt-get install and pip install
[manjaro] updated kernel file loading failure
RHCE课程总结
ELK deployment
apt-cache command
RHCE课程总结
* 5-2 CCF 2014-12-3 call auction
三子棋的代码实现
*1-1 OJ 56 Hamming Distance
Small program template production process, small program template production is convenient and fast
基于微信云开发的幼儿园招生报名小程序
我的创作纪念日
猴蝎美人
apt-get install 和pip install 的区别
Assembly language learning (5)
table中 You may have an infinite update loop in a component render function问题解决