当前位置:网站首页>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]
边栏推荐
猜你喜欢
随机推荐
vnc remote desktop installation (available for personal testing on 2021-10-20)
Threatless Technology-TVD Daily Vulnerability Intelligence-2022-8-1
Solve the problem that port 8080 is occupied
无胁科技-TVD每日漏洞情报-2022-8-4
Threatless Technology-TVD Daily Vulnerability Intelligence-2022-7-28
Django QuerySet.order_by() SQL注入漏洞复现
Redis学习笔记【四】完结
View the library ldd that the executable depends on
GoAhead Server 环境变量注入(CVE-2021-42342)漏洞复现
web网络安全笔记
Threatless Technology-TVD Daily Vulnerability Intelligence-2022-7-26
AUTOMATION DAY07 (Ansible Vault, ordinary users use ansible)
xx is not recognized as internal or external command
vulnhub靶机--6Day_Lab-v1.0.1
Apache APISIX 默认密钥漏洞复现
Slurm基本使用
Jmeter RMI 反序列化命令执行漏洞复现
SECURITY DAY05(Kali系统 、 扫描与抓包 、 SSH基本防护、服务安全 )
Redis学习笔记【三】
uboot设置默认的bootdelay