Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Redhat_7.6_RHCE-IPTABLES

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Iptables****

Note: 1. Iptables default: ACCEPT 2, pay attention to the direction

[root@10 /] # iptables-nvL OUTPUT-- line / / View the rules of out direction

[root@10 /] # iptables-L OUTPUT

[root@10 /] # iptables-L INPUT INPUT direction

[root@10 /] # iptables-L OUTPUT

[root@10 /] # iptables-L OUTPUT-- line

[root@10 /] # iptables-D OUTPUT 1

[root@10 /] # iptables-An INPUT-s 192.168.10.20-j DROP

[root@10 /] # iptables-vnL INPUT-- line

[root@10] # iptables-t filter-I OUTPUT-s 192.168.10.10-j ACCEPT

[root@10] # iptables-t filter-I OUTPUT-d 192.168.10.10-j ACCEPT

/ / insert statement-s original address-j action

/ / do-s 192.168.10.112 to 192.168.10.10 in the direction of out

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report