# Bypass Proxy for LAN ## Metadata **Status**:: #x **Zettel**:: #zettel/permanent **Created**:: [[2022-10-08]] **Topic**:: [[♯ Free Internet]] ## Synopsis ### Simple List ```copy *.spdb.com.cn, *.bilibili.com, *.hdslb.com, router.asus.com, *.local, localhost, 0.0.0.0/8, 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.0.0/24, 192.0.2.0/24, 192.88.99.0/24, 192.168.0.0/16, 198.18.0.0/15, 198.51.100.0/24, 203.0.113.0/24, 224.0.0.0/3 ``` ### PAC ```javascript function FindProxyForURL(url, host) { if ( dnsDomainIs(host, ".spdb.com.cn") || dnsDomainIs(host, ".bilibili.com") || dnsDomainIs(host, ".hdslb.com") || localHostOrDomainIs(host, "router.asus.com") || dnsDomainIs(host, ".local") || localHostOrDomainIs(host, "localhost") || isInNet(host, "0.0.0.0", "255.0.0.0") || isInNet(host, "10.0.0.0", "255.0.0.0") || isInNet(host, "100.64.0.0", "255.192.0.0") || isInNet(host, "127.0.0.0", "255.0.0.0") || isInNet(host, "169.254.0.0", "255.255.0.0") || isInNet(host, "172.16.0.0", "255.240.0.0") || isInNet(host, "192.0.0.0", "255.255.255.0") || isInNet(host, "192.0.2.0", "255.255.255.0") || isInNet(host, "192.88.99.0", "255.255.255.0") || isInNet(host, "192.168.0.0", "255.255.0.0") || isInNet(host, "198.18.0.0", "255.254.0.0") || isInNet(host, "198.51.100.0", "255.255.255.0") || isInNet(host, "203.0.113.0", "255.255.255.0") || isInNet(host, "224.0.0.0", "224.0.0.0") ) { return "DIRECT"; } return "PROXY 10.31.0.6:7890"; } ```