In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Iptables-F clear all rule chains iptables-X remove specific manual chain iptables-Z emptying counter iptables-P INPUT DROP / / default INPUT rules discard iptables-P OUTPUT DROP / / default OUTPUT rules discard iptables-P FORWARD DROP / / default FORWARD rules discard iptables-An INPUT-d 192.168.10.250-p tcp-m tcp-dport 22-j ACCEPT / / open SSH service inbound port iptables-An INPUT-d 192. 168.10.250-p tcp-m tcp-- dport 80-j ACCEPT / / Open WEB service inbound port iptables-An INPUT-s 127.0.0.1-d 127.0.0.1-j ACCEPT / / allow local loopback data iptables-An INPUT-p udp-m udp-sport 53-j ACCEPT / / packets from remote DNS server port 53 go through iptables-An INPUT-p udp-m udp-dport 53-j ACCEPT / / Packets entering port 53 of the local server can enter the local server through iptables-An INPUT-d 192.168.10.250-p icmp-j ACCEPT / / ICPM packets can enter the local server iptables-An OUTPUT-s 192.168.10.250-p tcp-m tcp-sport 22-m state-- state ESTABLISHED-j ACCEPT / / An OUTPUT-s 192.168.10.250-p tcp- M tcp-- sport 80-m state-- state ESTABLISHED-j ACCEPT / / Open outbound port iptables-An OUTPUT-s 127.0.0.1-d 127.0.0.1-j ACCEPT / / allow local loopback data iptables-An OUTPUT-p udp-m udp-sport 53-j ACCEPT / / packets outbound from local port 53 outbound via iptables-An OUTPUT-p udp-m udp-- dport 53- J ACCEPT / / packets outbound to remote DNS server port 53 via iptables-An OUTPUT-s 192.168.10.250-p icmp-j ACCEPT / / A pair of ICMP packets echo (ping command echo packet) service iptables save / / Save configuration information service iptables start / / turn on firewall service
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.