Skip to content

Instantly share code, notes, and snippets.

View xxooxxooxx's full-sized avatar
😏
On vacation

xxooxxooxx

😏
On vacation
View GitHub Profile
@xxooxxooxx
xxooxxooxx / windows_and_office_kms_setup.adoc
Created December 31, 2025 01:29 — forked from jerodg/windows_and_office_kms_setup.adoc
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup

@xxooxxooxx
xxooxxooxx / PuerNya_sing-box_fakeip_client_config.jsonc
Created June 5, 2024 14:12 — forked from CHIZI-0618/PuerNya_sing-box_fakeip_client_config.jsonc
sing-box 带有 Proxy Providers 的客户端配置示例
{
"log": {
"level": "info",
"output": "sing-box.log",
"timestamp": true
},
"dns": {
"servers": [
{
"tag": "cloudflare",
@xxooxxooxx
xxooxxooxx / issue.sh
Created May 20, 2024 03:25 — forked from qnnnnez/issue.sh
nginx configuration for tls-alpn-01
# using https://github.com/Neilpang/acme.sh
acme.sh --issue -d your.domain.1 --alpn --tlsport 30443
@xxooxxooxx
xxooxxooxx / WireGuard_Setup.txt
Created May 3, 2022 09:39 — forked from chrisswanda/WireGuard_Setup.txt
Stupid simple setting up WireGuard - Server and multiple peers
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
#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,