Updated on 2020-02-28

Tun2socks

Reference

Postern

[Proxy]
Proxy = https,192.168.1.4,8080

[Rule]
FINAL,Proxy

Shadowsocks

ss://YWVzLTI1Ni1nY206MTIzNDU2@192.168.1.4:1234

V2ray Config

{
  "log": {
    "loglevel": "warning"
  },
  "inbound": {
    "port": 1234,
    "listen": "192.168.1.4",
    "protocol": "shadowsocks",
    "settings": {
      "method": "aes-256-gcm",
      "password": "123456"
    }
  },
  "outbound": {
    "protocol": "http",
    "settings": {
      "servers": [
        {
          "address": "127.0.0.1",
          "port": 8080
        }
      ]
    }
  },
  "outboundDetour": [
    {
      "tag": "dns",
      "protocol": "freedom"
    }
  ],
  "routing": {
    "settings": {
      "rules": [
        {
          "outboundTag": "dns",
          "type": "field",
          "port": "53"
        }
      ]
    }
  }
}

Clash

proxies:
  - { name: burp, type: http, server: 192.168.1.100, port: 8080 }

proxy-groups:
  - name: 手动
    type: select
    proxies:
      - burp
      - DIRECT

rules:
  - DOMAIN-SUFFIX,local,DIRECT
  - IP-CIDR,127.0.0.0/8,DIRECT,no-resolve
  - MATCH,手动