In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of "how to use ufw firewall". The editor shows you the operation process through an actual case. The operation method is simple, fast and practical. I hope this article "how to use ufw Firewall" can help you solve the problem.
Ufw (simple Firewall Uncomplicated FireWall) really simplifies iptables. Has it become the default firewall on systems such as Ubuntu and Debian in the past few years?
Example use of the ufw command ufw status # check whether the ufw firewall is working, check the rule in use ufw enable # start ufw firewall ufw default deny # start default defense (block outer connection, release outer connection) ufw allow 53 # allow other hosts to access native port 53 The protocol includes tcp and udpufw allow 25/tcp # allowing other hosts to access native port 25 ufw allow smtp # UFW using the tcp protocol. You can also check the / etc/services file to understand the name of the service and the corresponding port and protocol # UFW also supports egress filtering. Users can use in or out to specify inward or outward. If not specified, inufw allow in http # permits access to native http port ufw reject out smtp # forbids access to external smtp port, does not tell "blocked by firewall" ufw deny out to 192.168.1.1 # prohibits external access to native 192.168.1.1, tells "blocked by firewall" ufw delete deny 80/tcp # to delete rules Just add delete to the command: instance settings allow access SSHsudo ufw allow 22/tcp settings allow access httpsudo ufw allow 80/tcp settings allow access httpssudo ufw allow 443/tcp settings allow access pptpsudo ufw allow 1723/tcp on "how to use the ufw firewall" content here, thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.