Skip to content

Instantly share code, notes, and snippets.

View Noltari's full-sized avatar

Álvaro Fernández Rojas Noltari

View GitHub Profile
@Noltari
Noltari / 0 - OpenWrt Wireguard IPv6 NPT
Last active May 7, 2025 06:36
OpenWrt Wireguard IPv6 NPT
uci -q delete firewall.npt6_wg0
uci set firewall.npt6_wg0="include"
uci set firewall.npt6_wg0.enabled=1
uci set firewall.npt6_wg0.path="/etc/nftables.d/npt6-wg0.sh"
uci commit firewall
service firewall restart
@Noltari
Noltari / 1 - prerequisites
Last active November 10, 2025 16:37
OpenWrt Cloudflare (WARP)
# Step 1 -> get wgcf (cli for Cloudflare WARP)
https://github.com/ViRb3/wgcf/releases
# Step 2 -> create account -> wgcf-account.toml
wgcf register
# Step 3 -> generate WireGuard profile -> wgcf-profile.conf
wgcf generate
# Step 4 -> extract values from wgcf-profile.conf