This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "log": { | |
| "level": "info", | |
| "output": "sing-box.log", | |
| "timestamp": true | |
| }, | |
| "dns": { | |
| "servers": [ | |
| { | |
| "tag": "cloudflare", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # using https://github.com/Neilpang/acme.sh | |
| acme.sh --issue -d your.domain.1 --alpn --tlsport 30443 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Install WireGuard via whatever package manager you use. For me, I use apt. | |
| $ sudo add-apt-repository ppa:wireguard/wireguard | |
| $ sudo apt-get update | |
| $ sudo apt-get install wireguard | |
| MacOS | |
| $ brew install wireguard-tools | |
| Generate key your key pairs. The key pairs are just that, key pairs. They can be |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #man ipsec | |
| Additional Variables | |
| A number of sysctl(8) variables are relevant to ipsec. These are | |
| generally net.inet.ah.*, net.inet.esp.*, net.inet.ip.forwarding, | |
| net.inet6.ip6.forwarding, and net.inet.ip.ipsec-*. Full explanations can | |
| be found in sysctl(2), and variables can be set using the sysctl(8) | |
| #man npppd | |
| Normally npppd works with pipex(4) to accelerate IP packet forwarding, |