In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-19 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.