mirror of
https://codeberg.org/postscriptum/gemlog.git
synced 2026-02-18 22:12:40 +00:00
initial commit
This commit is contained in:
commit
259fee630b
127 changed files with 7811 additions and 0 deletions
22
public/en/pac-file-example-for-yggstack.gmi
Normal file
22
public/en/pac-file-example-for-yggstack.gmi
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue