ros脚本大全ROS script Daquan
ROS script Daquan (generic) Post By:2010-3-13 10:11 :37 [see only the author]
This paper summarizes some of the commonly used ROS script,hoping to help everyone!
One: speed limit script
For wbsz from 1 to 254 do={/queue simple add name= (wbsz. $wbsz)dst-address= (192. 168.0. . $wbsz) l imit-at=1024K/1024K max-l imit=1024K/1024K}
Two: limit the maximum number of threads per machine
Forwbsz from 1 to 254 do={/ip firewall filter add chain=forward src-address= (192. 168.0. . $wbsz) protocol=tcp connection-limit=50,32 action=drop}
Three: port mapping
IP firewall NAT add chain=dstnat dst-address= (202.96. 134. 134)protocol=tcp dst-port=80 to-addresses= (192. 168.0. 1)to-ports=80 action=dst-nat
Four: end slogan
/ IP firewall filter
Ad ch forward PR TCP dst-po 8000 act drop comment= "Blockade QQ""
Five: more variable telnet service port
/ip service set telnet port=23
Six: more change SSH management service port
/ip service set SSH port=22
Seven: more variable WWW service port number
/ip service set www port=80
Eight: more variable FTP service port number
/ip service set FTP port=21
Nine: increase the ROS management user
/user add name=wbsz password=admin group=full
Ten: delete speed limit script
For wbsz from 1 to 254 do={/queue simple remove (wbsz. $wbsz) }Eleven: seal IP footsteps
/ IP firewall filter
Add chain=forward dst-address=58.60. 13. 38/32 action=drop comment= "Blockade QQ""
Twelve: no P2P script
/ IP firewall filter
Add chain=forward src-address=192. 168.0.0/24 p2p=all-p2p action=drop comment= "No P2P""
Thirteen: limit the maximum number of TCP threads per machine (thread number =60)
/ IP firewall filter
Add chain=forward protocol=tcp connection-limit=60, 32acti on=drop "
Disabled=no
Fourteen: bind all online machines MAC at one time
Foreach wbsz in=[/ip ARP find dynamic=yes] do=[/ip ARP add c opy-from=$wb sz]
Fifteen: remove the bound MAC
Foreach wbsz in [/ip ARP find] do={/ip ARP remove $wbsz}Sixteen: ban Ping
/ IP firewall filter
Add chain=output protocol=icmp action=drop comment="No Ping""Seventeen: prohibition
/ IP firewall filter
Add chain=forward protocol=tcp dst-port=4661-4662 action=drop comment= "No Emu le""
Add chain=forward protocol=tcp dst-port=4242 action=drop Add chain=forward dst-address=62.241.53. 15 action=drop Eighteen: ban PPLIVE
/ IP firewall filter
Add chain=forward protocol=tcp dst-port=8008 action=drop comment= "No PPlive TV""
Add chain=forward protocol=udp dst-port=4004 action=drop Add chain=forward dst-address=218. 108.237. 11 action=drop Nineteen: no QQ live broadcast
IP防火墙过滤器
添加链= =口=转发协议UDP DST 13000-14000行动=滴评论= “没有QQLive”
二十禁比特精灵
IP防火墙过滤器
添加链=转发协议TCP端口=16881=DST行动=滴评论= “BitSpirit”
二十一禁QQ聊天一般公司才需要
IP防火墙过滤器
添加链=正向src地址= 10.5.6. 7/32行动=接受评论= “腾讯QQ”转发TCP公关DST PO 8000行为下降
广告前向公关UDP DST 8000法案下降
广告前向公关UDP DST 8000法案下降
添加链=了DST地址=行动=降61. 144. 238.0/24
添加链=了DST地址=行动=降61. 152. 100.0/24
添加链=了DST地址=行动=降61. 141. 194.0/24
添加链=了DST地址=行动=降202.96. 170. 163/32
添加链=了DST地址=行动=降202. 104. 129.0/24
添加链=了DST地址=行动=降202. 104. 193. 20/32
添加链=了DST地址=行动=降202. 104. 193. 11/32
添加链=了DST地址=行动=降202. 104. 193. 12/32添加链=了DST地址=行动=降218. 17. 209.23/32添加链=了DST地址=行动=降218. 18.95. 153/32添加链=了DST地址=行动=降218. 18.95. 165/32添加链=了DST地址=行动=降218. 18.95. 220/32添加链=了DST地址=行动=降218.85. 138.70/32添加链=了DST地址=行动=降219. 133.38.0/24添加链=了DST地址=行动=降219. 133.49.0/24添加链=了DST地址=行动=降220. 133.40.0/24添加了内容sz.tencent链= =行动=拒绝
添加了内容sz2. tencent链= =行动=拒绝
添加了内容sz3. tencent链= =行动=拒绝
添加了内容sz4. tencent链= =行动=拒绝
添加了内容sz5. tencent链= =行动=拒绝
添加了内容sz6. tencent链= =行动=拒绝
添加了内容sz7. tencent链= =行动=拒绝添加了内容sz8. tencent链= =行动=拒
添加了内容sz9. tencent链= =行动=拒
添加了内容tcpconn.tencent链= =行动=拒绝添加了内容tcpconn2.tencent链= =行动=拒绝添加了内容tcpconn3.tencent链= =行动=拒绝添加了内容tcpconn4.tencent链= =行动=拒绝添加了内容tcpconn5.tencent链= =行动=拒绝添加了内容tcpconn6.tencent链= =行动=拒绝添加了内容tcpconn7链= =。
腾讯动作=拒绝
添加了内容tcpconn8.tencent链= =行动=拒绝添加链=前进的内容= QQ动作=拒绝
添加了内容www.qq链= =行动=拒绝
二十二防止灰鸽子入浸
IP防火墙过滤器
添加链=转发协议TCP端口= 1999 = DST行动=滴评论= “后门。graybird。广告”
添加链=了DST地址=行动=降80. 190. 240. 125
添加链=了DST地址=行动=降203. 209.245. 168
添加链=了DST地址=行动=降210. 192. 122. 106
添加链=了DST地址=行动=降218. 30.88.43
添加链=了DST地址=行动=降219. 238.233. 110
添加链=了DST地址=行动=降222. 186.8.88
添加链=了DST地址=行动=降124.42. 125.37
添加链=了DST地址=行动=降210. 192. 122. 107
添加链=了DST地址=行动=降61. 147. 118. 198
添加链=了DST地址=行动=降219. 238.233. 11
二十三防三波
IP防火墙过滤器
添加链= =口=转发协议TCP DST 38-42行动=滴评论= “3B”[蝙蝠]给CMD上把锁后 2010-3-21 17:23:57 [只看该作者]
@回音
如果存在%windir% fly.bat属性- S ·R·H %windir% f ly.bat CLS
C MD密码设置标题
回声
===========================================================
=====================
C MD密码设置回声
回声。
回声默认密码为 adm in
回声。
回声如需更改请在下面输入你的密码不更改直接回车. . . . . . . . .回声。
回声。如需要取消CMD加密设置请在C Windows f l y.bat删除飞。蝙蝠就可
回声
===========================================================
=====================
RAKsmart商家一直以来在独立服务器、站群服务器和G口和10G口大端口流量服务器上下功夫比较大,但是在VPS主机业务上仅仅是顺带,尤其是我们看到大部分主流商家都做云服务器,而RAKsmart商家终于开始做云服务器,这次试探性的新增美国硅谷机房一个方案。月付7.59美元起,支持自定义配置,KVM虚拟化,美国硅谷机房,VPC网络/经典网络,大陆优化/精品网线路,支持Linux或者Windows操作...
hostsailor怎么样?hostsailor成立多年,是一家罗马尼亚主机商家,机房就设在罗马尼亚,具说商家对内容管理的还是比较宽松的,商家提供虚拟主机、VPS及独立服务器,今天收到商家推送的八月优惠,针对所有的产品都有相应的优惠,商家的VPS产品分为KVM和OpenVZ两种架构,OVZ的比较便宜,有这方面需要的朋友可以看看。点击进入:hostsailor商家官方网站HostSailor优惠活动...
阿里云香港配置图提速啦是成立于2012年的十分老牌的一个商家这次给大家评测的是 阿里云香港 16核32G 20M 这款产品,单单说价格上就是十分的离谱原价8631元/月的现价只要 999元 而且还有个8折循环优惠。废话不多说直接进入正题。优惠时间 2021年8月20日-2021年9月20日 优惠码 wn789 8折优惠阿里云香港BGP专线 16核32G 10M带宽 优惠购买 399元购买链接阿里云...