In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Centos 6.x 7.x firewall how to open the port range IP address and configure, I believe that many inexperienced people do not know what to do. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
# centos 6.x# Open nfsiptables-L-n # Open port iptables-An INPUT-p tcp-- dport 892-j ACCEPTiptables-An OUTPUT-p tcp-- sport 892-j ACCEPTservice iptables saveservice iptables restart# delete rule iptables-- delete OUTPUT "View the machine's port range cat / proc/sys/net/ipv4/ip_local_port_range# open port range open firewall iptables-An INPUT-s 192.168 .75.132-p tcp-- dport 1000V 60000-j ACCEPTiptables-An INPUT-s 192.168.75.132-p tcp-- dport 1000V 60000-j ACCEPT#centos7.x opens the port range firewall-cmd-- permanent-- add-rich-rule= "rule family='ipv4' source address='192.168.75.128' protocol='tcp' port port='1000-60000' accept" firewall-cmd-- permanent-- add-rich-rule= "rule family='ipv4' source address=' for an ip 192.168.75.129' accept "firewall-cmd-- permanent-- add-rich-rule=" rule family='ipv4' source address='192.168.75.128' accept "firewall-cmd-- permanent-- add-rich-rule=" rule family='ipv4' source address='192.168.75.130' accept "# View the public area open port firewall-cmd-- zone=public-- list-all# reload configuration firewall-cmd-- reload open port range Firewall-cmd-- permanent-- zone=public-- add-port=1000-60000/tcp# delete rule firewall-cmd-- permanent-- remove-rich-rule= "rule family=" ipv4 "source address=" 192.168.75.129 "port protocol='tcp' port='1000-6000' accept" firewall-cmd-- permanent-- remove-rich-rule= "rule family=" ipv4 "source address=" 192.168.75.128 "port protocol='tcp' port='1000-6000' accept" firewall-cmd-permanent-- remove -rich-rule= "rule family=" ipv4 "source address=" 192.168.75.130 "port protocol='tcp' port='1000-6000' accept" read the above Do you know how the centos 6.x 7.x firewall opens the port range IP address and how to configure it? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
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: 288
*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.