In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
#! / bin/sh
Echo "starting forward..."
If [- e / proc/sys/net/ipv4/tcp_ecn]
Then
Echo 0 > / proc/sys/net/ipv4/tcp_ecn
Fi
Echo 1 > / proc/sys/net/ipv4/tcp_syncookies
Com_sh_ip1= "172.168.1.1Comp32"
Com_wh_ip1= "192.168.1.1Comp32"
Export com_sh_ip1 com_wh_ip1
/ sbin/iptables-F
/ sbin/iptables-F-t nat
/ sbin/depmod-a
/ sbin/modprobe ip_tables
/ sbin/modprobe ip_conntrack
/ sbin/modprobe ip_nat_ftp
/ sbin/modprobe ip_conntrack_ftp
/ sbin/iptables-N GM
/ sbin/iptables-N Area1
/ sbin/iptables-N Area2
/ sbin/iptables-N Area3
/ sbin/iptables-N Area4
/ sbin/iptables-N Area6
/ sbin/iptables-N Area7
/ sbin/iptables-An INPUT-I lo-j ACCEPT
/ sbin/iptables-An INPUT-p icmp-j ACCEPT
/ sbin/iptables-An INPUT-s $com_sh_ip1-p tcp-m tcp-- dport 22-m state-- state NEW-j ACCEPT
/ sbin/iptables-An INPUT-s $com_wh_ip1-p tcp-m tcp-- dport 22-m state-- state NEW-j ACCEPT
/ sbin/iptables-An INPUT-s 11.11.11.11-p tcp-m tcp-- dport 22-m state-- state NEW-j ACCEPT
/ sbin/iptables-An INPUT-s 10.0.0.0 dport 8-p tcp-m tcp-- dport 22-m state-- state NEW-j ACCEPT
/ sbin/iptables-An INPUT-s $com_sh_ip1-p tcp-m tcp-- dport 10050-m state-- state NEW-j ACCEPT
/ sbin/iptables-An INPUT-s $com_sh_ip1-p tcp-m tcp-- dport 4040-m state-- state NEW-j ACCEPT
/ sbin/iptables-An INPUT-m state-- state ESTABLISHED,RELATED-j ACCEPT
/ sbin/iptables-An INPUT-j GM
/ sbin/iptables-An INPUT-j Area1
/ sbin/iptables-An INPUT-j Area2
/ sbin/iptables-An INPUT-j Area3
/ sbin/iptables-An INPUT-j Area4
/ sbin/iptables-An INPUT-j Area6
/ sbin/iptables-An INPUT-j Area7
# open ftp port for dragonball operation data analyse
/ sbin/iptables-An INPUT-s $com_wh_ip1-p tcp-m tcp-- dport 3421 tcp 3425-m state-- state NEW-j ACCEPT
/ sbin/iptables-An INPUT-s $com_sh_ip1-p tcp-m tcp-- dport 3421 tcp 3425-m state-- state NEW-j ACCEPT
# GM
/ sbin/iptables-A GM-p tcp-- dport 1800-m state-- state NEW-j ACCEPT
/ sbin/iptables-A GM-p tcp-- dport 80-m state-- state NEW-j ACCEPT
# Area1
/ sbin/iptables-An Area1-p tcp-- dport 10120-m state-- state NEW-j ACCEPT
/ sbin/iptables-P INPUT DROP
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.