neverwintern's recent timeline updates
neverwintern

neverwintern

V2EX member #186147, joined on 2016-08-09 13:33:17 +08:00
neverwintern's recent replies
May 15, 2017
Replied to a topic by neverwintern 路由器 一个关于路由器 iptables 规则的问题
@JackyBao 但是我的命令是所有包都 0.2 几率 DROP 吧。

然后我今天试了试
iptables -t mangle -A POSTROUTING -p udp -j DROP
发现 LOL 还是能玩,而且没有开加速器之类的。
May 14, 2017
Replied to a topic by neverwintern 路由器 一个关于路由器 iptables 规则的问题
比较好奇英雄联盟的网络设计,我依次尝试了两条命令:

iptables -t mangle -A POSTROUTING -m statistic --mode random --probability 0.2 -j DROP

iptables -t mangle -A PREROUTING -m statistic --mode random --probability 0.2 -j DROP

都对浏览网页,下载速度造成了很大影响,但是打 LOL 却没有什么影响,顶多是延迟高了一点。
May 14, 2017
Replied to a topic by neverwintern 路由器 一个关于路由器 iptables 规则的问题
@lcdtyph 看了下 iptables 的流程,懂了,谢谢。
May 14, 2017
Replied to a topic by neverwintern 路由器 一个关于路由器 iptables 规则的问题
@JackyBao 谢谢,所以我的规则应该这样写:
iptables -t mangle -I PREROUTING -d {某个 IP} -m -j DROP
这样就是把内网包在进路由之前就把它丢掉。 如果我要阻止它发出就是 POSTROUTING。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   993 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 21:59 · PVG 05:59 · LAX 14:59 · JFK 17:59
♥ Do have faith in what you're doing.