Skip to content

Instantly share code, notes, and snippets.

View geresa's full-sized avatar

poetra eble5 geresa

  • consulit
  • lamongan
View GitHub Profile
@geresa
geresa / gist:078c29aa5bd6cc80d20ade043467d6f3
Created May 9, 2021 12:09 — forked from ahmadIbnussina/gist:c8e9383e8aec686caf3d5a74f13ab36c
icmp-dns,high-priority,ggc telkom,sosmed,browsing,unpriority
*ether1 = sumber internet *
/ip firewall layer7-protocol
add name=torrent1 regexp="^.+(Torrent|torrent)"
add name=torrent2 regexp="^(bittorrent protocol|azver1\$|get /scrape\\\\\?info_hash=)|d1:ad2:id20:|87P\\)[RP]"
add name=torrent3 regexp="^(\\x13bittorrent protocol|azver\\x01\$|get /scrape\\\?info_hash=get /announce\\\?info_hash=|get /client/bitcomet/|GET /data\\\?fid=)|d1:ad2:id20:|\\x08'7P\\)[RP]"
add name=torrent4 regexp="^.*(get|GET).+(torrent|thepiratebay|isohunt|entertane|demonoid|btjunkie|mininova|flixflux|torrentz|vertor|h33t|btscene|bitunity|bittoxic|thunderbytes|entertane|zoozle|vcdq|bitnova|bitsoup|meganova|fulldls|btbot|flixflux|seedpeer|fenopy|gpirate|commonbits).*\$"
/ip firewall address-list
add list=sosmed address=31.13.24.0/21 comment="Facebook Ireland"
add list=sosmed address=31.13.64.0/18 comment="Facebook Ireland"
@geresa
geresa / shadowsocks_ubuntu1604.org
Created June 4, 2021 17:44 — forked from nuhuo08/shadowsocks_ubuntu1604.org
Install Shadowsocks-libev + simple-obfs on Ubuntu 16.04

Install Shadowsocks-libev + simple-obfs on Ubuntu 16.04

Install shadowsocks-libev via Ubuntu PPA

sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:max-c-lv/shadowsocks-libev -y
sudo apt-get update
sudo apt install shadowsocks-libev
@geresa
geresa / openwrt_preseed_pkg.sh
Created June 21, 2021 16:47 — forked from tienthanh2509/openwrt_preseed_pkg.sh
OpenWRT install common package
opkg update
# Web interface
opkg install luci
# https for luci web
opkg install luci-ssl-openssl libuhttpd-openssl
# OpenVPN
opkg install luci-app-openvpn openvpn
/ip firewall filter
add action=reject chain=forward comment="Reject MS Telemetry" \
dst-address-list=MStelemetry reject-with=icmp-network-unreachable
/ip firewall address-list
add address=111.221.29.177 list=MStelemetry
add address=111.221.29.253 list=MStelemetry
add address=131.253.40.37 list=MStelemetry
add address=134.170.30.202 list=MStelemetry
add address=134.170.115.60 list=MStelemetry
@geresa
geresa / list_cn_ip.rb
Last active October 1, 2021 17:47 — forked from quark-zju/list_cn_ip.rb
List allocated china ip addresses
#!/usr/bin/env ruby
# List latest id IPv4 list
require 'open-uri'
(ARGF.path == '-' ? open('http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest') : ARGF).lines.each do |l|
next if !l.include?('ipv4') || l.include?('*')
cc, type, start, value = l.split('|')[1, 4]
@geresa
geresa / tt-domain.txt
Created December 28, 2021 20:54 — forked from nhandt64/tt-domain.txt
TikTok domains list for Pi-hole
v16a.tiktokcdn.com
p16-tiktokcdn-com.akamaized.net
log.tiktokv.com
ib.tiktokv.com
api-h2.tiktokv.com
v16m.tiktokcdn.com
api.tiktokv.com
v19.tiktokcdn.com
mon.musical.ly
api2-16-h2.musical.ly
@geresa
geresa / Public_Time_Servers.md
Created January 6, 2022 21:37 — forked from mutin-sa/Top_Public_Time_Servers.md
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com