initial commit

This commit is contained in:
postscriptum 2025-09-11 12:43:12 +03:00
commit 259fee630b
127 changed files with 7811 additions and 0 deletions

View file

@ -0,0 +1,22 @@
# PAC-file example for Yggstack
Yggstack is lightweight proxy server in Go, usually wanted to not represent TUN address into Yggdrasil network.
## Firefox
Unlike static host/port setup, following configuration rewrites only IPv6 (0200::/7) and .ygg (Alfis DNS) requests:
``` file:///path/to/proxy.pac
function FindProxyForURL(url, host)
{
if (/^0{0,1}[2-3][a-f0-9]{0,2}:/.test(host) || /\.ygg$/.test(host))
{
return 'SOCKS5 127.0.0.1:1080; DIRECT';
}
}
```
## Links
=> https://en.wikipedia.org/wiki/Proxy_auto-config About PAC
=> https://github.com/yggdrasil-network/yggstack Yggstack on GitHub