当前位置:网站首页>SECURITY DAY06 ( iptables firewall, filter table control, extended matching, typical application of nat table)
SECURITY DAY06 ( iptables firewall, filter table control, extended matching, typical application of nat table)
2022-08-11 07:00:00 【zoujiangMr】
Case 1: Basic management of iptables
Case 2: Filter filtering and forwarding control
Case 3: Firewall extension rules
Case 4: Configuring SNAT to achieve shared Internet access
1 Case 1: Basic iptables management
1.1 Questions
This case requires practicing the use of iptables commands and completing the following tasks as required:
- Close firewalld and enable iptables service
- View firewall rules
- Append, insert firewall rules
- Delete, clear firewall rules
1.2 Solution
The iptables firewall has 4 tables and 5 chains. The 4 tables are the filter table, the nat table, the raw table, and the mangle table. The 5 chains are the INPUT chain, the OUTPUT chain, the FORWARD chain, the PREROUTING chain, and the POSTROUTING chain..Firewall rules are required to be written in a specific chain of a specific table, and the effect is shown in Figure-1.
Figure-1
1.3 Steps
The following steps are required to implement this case.
Step 1: Close firewalld and start iptables service
1) Shut down the firewalld server
[[email protected]
边栏推荐
- SECURITY DAY03(一键部署zabbix)
- 2022年全国职业技能大赛网络安全竞赛试题B模块自己解析思路(6)
- CLUSTER DAY04(块存储应用案例 、 分布式文件系统 、 对象存储)
- 中职网络安全-Web渗透
- (三)软件测试理论(了解软件的缺陷知识)
- CLUSTER DAY01 (Introduction to cluster and LVS, LVS-NAT cluster, LVS-DR cluster)
- buildroot嵌入式文件系统中vi显示行号
- lvm 多盘挂载,合并使用
- Threatless Technology-TVD Daily Vulnerability Intelligence-2022-7-31
- 记录一个刚写的Makefile
猜你喜欢
随机推荐
Vulnhub靶机--born2root
无胁科技-TVD每日漏洞情报-2022-7-25
Project Notes - Random 2
[HTB]渗透Backdoor靶机
ramdisk实践1:将根文件系统集成到内核中
ETCD集群故障应急恢复-本地数据可用
CLUSTER DAY03( Ceph概述 、 部署Ceph集群 、 Ceph块存储)
无胁科技-TVD每日漏洞情报-2022-8-1
Error in render: “TypeError: Cannot read properties of undefined (reading ‘commentsContent‘)“
lvm 多盘挂载,合并使用
Threatless Technology-TVD Daily Vulnerability Intelligence-2022-7-27
照片的35x45,300dpi怎么弄
Deep Learning Matlab Toolbox Code Comments
Threatless Technology-TVD Daily Vulnerability Intelligence-2022-8-5
stegano
(1) Software testing theory (0 basic understanding of basic knowledge)
SSL证书部署后,为什么还是显示不安全?
Es common operations and classical case
文本三剑客——grep过滤
查看可执行文件依赖的库ldd