feat: warp

This commit is contained in:
fufsob committed 2026-09-14 03:14:35 +00:00
1 parent 09e9945351
commit 7f76c4ffbb
18 files changed
+864 -177

No files matched your search

+7
View File
@@ -15,6 +15,7 @@ Update the module option docs there instead of editing these files by hand.
- [tgWsProxy](./tgWsProxy.md)
- [tray](./tray.md)
- [userControl](./userControl.md)
- [warp](./warp.md)
- [zapret](./zapret.md)
## Complete default config
@@ -252,6 +253,12 @@ services.proxy-suite = {
group = "proxy-suite";
perApp = { };
};
warp = {
asAmneziaWg = false;
asOutbound = false;
configFile = null;
enable = false;
};
zapret = {
cidrExemption = {
cidrs = [ ];
+85
View File
@@ -0,0 +1,85 @@
# services.proxy-suite.warp
Part of the [proxy-suite options reference](./index.md).
## Options
- warp
- [enable](#services-proxy-suite-warp-enable)
- [asAmneziaWg](#services-proxy-suite-warp-asamneziawg)
- [asOutbound](#services-proxy-suite-warp-asoutbound)
- [configFile](#services-proxy-suite-warp-configfile)
<a id="services-proxy-suite-warp-enable"></a>
## services\.proxy-suite\.warp\.enable
Whether to enable Cloudflare WARP\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
<a id="services-proxy-suite-warp-asamneziawg"></a>
## services\.proxy-suite\.warp\.asAmneziaWg
Add an AmneziaWG profile named “warp” (` proxy-ctl awg on warp `)\. Requires amneziaWg\.enable\.
*Type:*
boolean
*Default:*
```nix
false
```
<a id="services-proxy-suite-warp-asoutbound"></a>
## services\.proxy-suite\.warp\.asOutbound
Add WARP as an outbound tagged “warp”\. sing-box runs it as a WireGuard endpoint,
XRay as a wireguard outbound\.
*Type:*
boolean
*Default:*
```nix
false
```
<a id="services-proxy-suite-warp-configfile"></a>
## services\.proxy-suite\.warp\.configFile
Runtime path to a WireGuard profile for WARP, as written by ` wgcf register && wgcf generate `\.
Junk-packet lines (Jc, Jmin, Jmax) are honoured by the AmneziaWG profile only\.
When null, proxy-suite-warp registers a device with wgcf (accepting Cloudflare’s terms)
into /var/lib/proxy-suite/warp, through the local proxy when proxy\.enable is set, and
retries until it succeeds\. Until then the warp outbound blocks\.
*Type:*
null or string
*Default:*
```nix
null
```
*Example:*
```nix
"/run/secrets/wgcf-profile.conf"
```