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
| 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 |
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
| # 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 |