当前位置:网站首页>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]
边栏推荐
猜你喜欢
随机推荐
SSL证书部署后,为什么还是显示不安全?
China Mobile Communications Group Co., Ltd.: Business Power of Attorney
Solve the problem that port 8080 is occupied
解决win10安装portal v13/v15要求反复重启问题。
AUTOMATION DAY07( Ansible Vault 、 普通用户使用ansible)
无胁科技-TVD每日漏洞情报-2022-8-8
Jedis连接问题!!
企业怎样申请SSL证书?
中小微企业需要使用SSL证书吗?
Drupal 远程代码执行漏洞复现(CVE-2018-7602)
Apache Flink jobmanager/logs 目录穿越漏洞复现
visio文件批量转pdf
C语言两百题(0基础持续更新)(1~5)
文本三剑客——grep过滤
uboot代码解析1:根据目的找主线
uboot设置默认的bootdelay
Msfvenom生成后门及运用
软件使用代码签名证书的好处和必要性
VMware workstation 16 installation and configuration
CLUSTER DAY04(块存储应用案例 、 分布式文件系统 、 对象存储)