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

What are the commands of iptables Firewall in Linux

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article mainly explains "what are the commands of iptables Firewall in Linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "what are the commands of iptables Firewall in Linux"?

Basic command # View firewall status service iptables status # stop firewall service iptables stop # start firewall service iptables start # restart firewall service iptables restart # permanently close firewall chkconfig iptables off # restart chkconfig iptables on open port open port 3306 vim / etc/sysconfig/iptables# add the following code-An INPUT-m state-- state NEW-m tcp-p tcp-- dport 3306-j ACCEPT exit vim command Restart the firewall service iptables restart so far, I believe you have a deeper understanding of "what are the commands of the iptables firewall in Linux?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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

Internet Technology

Wechat

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

12
Report