Skip to content

Instantly share code, notes, and snippets.

var direct = "DIRECT;";
var wall_proxy = function(){ return "__PROXY__"; };
var wall_v6_proxy = function(){ return "__PROXY__"; };
var nowall_proxy = function(){ return direct; };
var ip_proxy = function(){ return nowall_proxy(); };
var ipv6_proxy = function(){ return nowall_proxy(); };
/*
@Aeakaw
Aeakaw / config.json
Last active November 22, 2024 04:01
{
"inbounds": [
{
"port": 22280, // 这里填写你的端口,也可以不变动
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "9bde209e-be6e-4351-9c4f-4d709a29132c", //请使用cat /proc/sys/kernel/random/uuid生成
"alterId": 64
@Aeakaw
Aeakaw / v2.sh
Last active February 7, 2020 12:34
#!/usr/bin/env bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
#
# Auto install Shadowsocks Server (all version)
#
# Copyright (C) 2016-2019 www.ffice.gy
#
# System Required: CentOS 6+, Debian7+, Ubuntu12+
#
@Aeakaw
Aeakaw / go.sh
Last active December 10, 2020 02:33
#!/bin/bash
# This file is accessible as https://install.direct/go.sh
# Original source is located at github.com/v2ray/v2ray-core/release/install-release.sh
# If not specify, default meaning of return value:
# 0: Success
# 1: System error
# 2: Application error
# 3: Network error
payload:
- PROCESS-NAME,QQ,DIRECT
- PROCESS-NAME,AutoPowerOff,DIRECT
- PROCESS-NAME,AutoPowerOff.exe,DIRECT
- PROCESS-NAME,BugReport,DIRECT
- PROCESS-NAME,BugReport.exe,DIRECT
- PROCESS-NAME,BugReporter,DIRECT
- PROCESS-NAME,BugReporter.exe,DIRECT
- PROCESS-NAME,crashpad_handler,DIRECT
- PROCESS-NAME,crashpad_handler.exe,DIRECT