Ubuntu 12.04 下制作 OpenWRT iptables geoip 数据库文件
- 去[Xtables-addons][1]下载
xtables-addons-x.x.tar.xz,解压并进入 - 依次执行
./configure
make
make install
| #!/bin/bash | |
| # data: 2020-03-31 | |
| # author: muzi502 | |
| # for: Fuck GFW and download some raw file form github without proxy using jsDelivr CDN | |
| # usage: save the .she to your local such as /usr/bin/rawg, and chmod +x /usr/bin/rawg | |
| # use rawg https://github.com/ohmyzsh/ohmyzsh/blob/master/tools/install.sh to download | |
| set -xue | |
| # GitHub rul: https://github.com/ohmyzsh/ohmyzsh/blob/master/tools/install.sh | |
| # jsDelivr url: https://cdn.jsdelivr.net/gh/ohmyzsh/ohmyzsh/tools/install.sh |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_bloc/flutter_bloc.dart'; | |
| import 'package:flutter_sample_api_bloc/bloc/user_bloc.dart'; | |
| import 'package:flutter_sample_api_bloc/bloc/user_detail_bloc.dart'; | |
| import 'package:flutter_sample_api_bloc/repository/sample_api_client.dart'; | |
| import 'package:flutter_sample_api_bloc/repository/sample_api_repository.dart'; | |
| import 'package:flutter_sample_api_bloc/widgets/userview.dart'; | |
| import 'package:http/http.dart' as http; | |
| void main() { |
| #!/bin/ash | |
| # | |
| # angry_wifi.sh | |
| # | |
| # auto disconnects clients with a low signal strength on LEDE / OpenWRT. great | |
| # for clients who hold onto a lower-signal-strength accesspoint instead of | |
| # roaming. before running, make sure to download the latest MAC addresses with: | |
| # | |
| # wget --no-check-certificate -O - 'https://services13.ieee.org/RST/standards-ra-web/rest/assignments/download/?registry=MAC&text=apple' | cut -d, -f2 > apple_mac_addresses | |
| # |
| 23.21.150.121:3478 | |
| iphone-stun.strato-iphone.de:3478 | |
| numb.viagenie.ca:3478 | |
| s1.taraba.net:3478 | |
| s2.taraba.net:3478 | |
| stun.12connect.com:3478 | |
| stun.12voip.com:3478 | |
| stun.1und1.de:3478 | |
| stun.2talk.co.nz:3478 | |
| stun.2talk.com:3478 |
| #!/usr/bin/env python | |
| #coding=utf-8 | |
| # | |
| # Generate a list of dnsmasq rules with ipset for gfwlist | |
| # | |
| # Copyright (C) 2014 http://www.shuyz.com | |
| # Ref https://code.google.com/p/autoproxy-gfwlist/wiki/Rules | |
| import urllib2 | |
| import re |
Ubuntu 12.04 下制作 OpenWRT iptables geoip 数据库文件
xtables-addons-x.x.tar.xz,解压并进入./configure
make
make install
| NOTE: Easier way is the X86 way, described on https://www.genymotion.com/help/desktop/faq/#google-play-services | |
| Download the following ZIPs: | |
| ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links) | |
| Download the correct GApps for your Android version: | |
| Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip) | |
| Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip) | |
| Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip) |
##ss-redir 的 iptables 配置(透明代理)
透明代理指对客户端透明,客户端不需要进行任何设置就使用了网管设置的代理规则
创建 /etc/ss-redir.json 本地监听 7777
运行ss-redir -v -c /etc/ss-redir.json
iptables -t nat -N SHADOWSOCKS
# 在 nat 表中创建新链
iptables -t nat -A SHADOWSOCKS -p tcp --dport 23596 -j RETURN
# 23596 是 ss 代理服务器的端口,即远程 shadowsocks 服务器提供服务的端口,如果你有多个 ip 可用,但端口一致,就设置这个