13
edits
Changes
no edit summary
------
This is a script that would run on OpenWRT:
* That would create for you add_gl.sh and del_gl.sh in the current working directory.
* Then run ./add_gl.sh and all packets destined to google will be marked with MARK 1
* So add a rule something like:
<code>
iptalbes -N reject
iptables -A OUTPUT -m mark --mark 4 -j reject
iptables -A reject -p tcp -j REJECT --reject-with tcp-reset
iptables -A reject -j REJECT --reject-with icmp-port-unreachable
</code