Changes

Jump to: navigation, search

BlackBlockGoogle

241 bytes added, 11:28, 27 April 2018
no edit summary
------
-- === iptsetup.sh -- ===
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
 
13
edits

Navigation menu