feat: warp endpoint; fix: hardening

This commit is contained in:
FUFSoB committed 2026-09-23 11:50:22 +05:00
1 parent 8f65fa9c25
commit 5f29f30790
32 files changed
+266 -381

No files matched your search

+21
View File
@@ -13,6 +13,7 @@ Part of the [proxy-suite options reference](./index.md).
- [asOutbound](#services-proxy-suite-amneziawg-profiles-name-asoutbound)
- [autostart](#services-proxy-suite-amneziawg-profiles-name-autostart)
- [configFile](#services-proxy-suite-amneziawg-profiles-name-configfile)
- [endpoint](#services-proxy-suite-amneziawg-profiles-name-endpoint)
- [interfaceName](#services-proxy-suite-amneziawg-profiles-name-interfacename)
- [settings](#services-proxy-suite-amneziawg-profiles-name-settings)
- [addresses](#services-proxy-suite-amneziawg-profiles-name-settings-addresses)
@@ -189,6 +190,26 @@ null or string
null
```
<a id="services-proxy-suite-amneziawg-profiles-name-endpoint"></a>
## services\.proxy-suite\.amneziaWg\.profiles\.\<name>\.endpoint
host:port (IPv6 in brackets) that replaces the first peer’s Endpoint when the profile is prepared\.
*Type:*
null or string matching the pattern (\\\[\[0-9A-Fa-f:\.]+]|\[^]:\[]+):\[0-9]+
*Default:*
```nix
null
```
*Example:*
```nix
"162.159.192.1:500"
```
<a id="services-proxy-suite-amneziawg-profiles-name-interfacename"></a>
## services\.proxy-suite\.amneziaWg\.profiles\.\<name>\.interfaceName
+2 -1
View File
@@ -132,7 +132,7 @@ services.proxy-suite = {
local = {
address = "1.1.1.1";
port = 53;
type = "udp";
type = "tcp";
};
remote = {
address = "1.1.1.1";
@@ -301,6 +301,7 @@ services.proxy-suite = {
asOutbound = null;
configFile = null;
enable = false;
endpoint = null;
generatorUrl = null;
};
zapret = {
+7 -4
View File
@@ -389,7 +389,9 @@ string
<a id="services-proxy-suite-proxy-dns-local"></a>
## services\.proxy-suite\.proxy\.dns\.local
Resolver for direct traffic and the default domain resolver\. Goes through the proxy in global TUN mode\.
Resolver for direct traffic and the default domain resolver\. Goes through the proxy in
global TUN mode\. TCP by default: plain UDP queries to well-known resolvers are often
answered by the ISP’s DPI instead, which breaks blocked names routed direct to zapret\.
*Type:*
submodule
@@ -400,7 +402,7 @@ submodule
{
address = "1.1.1.1";
port = 53;
type = "udp";
type = "tcp";
}
```
@@ -408,8 +410,9 @@ submodule
```nix
{
address = "9.9.9.9";
type = "tcp";
address = "1.1.1.1";
port = 853;
type = "tls";
}
```
+24
View File
@@ -9,6 +9,7 @@ Part of the [proxy-suite options reference](./index.md).
- [asAmneziaWg](#services-proxy-suite-warp-asamneziawg)
- [asOutbound](#services-proxy-suite-warp-asoutbound)
- [configFile](#services-proxy-suite-warp-configfile)
- [endpoint](#services-proxy-suite-warp-endpoint)
- [generatorUrl](#services-proxy-suite-warp-generatorurl)
<a id="services-proxy-suite-warp-enable"></a>
@@ -95,6 +96,29 @@ null
"/run/secrets/wgcf-profile.conf"
```
<a id="services-proxy-suite-warp-endpoint"></a>
## services\.proxy-suite\.warp\.endpoint
host:port that replaces the profile’s Endpoint (IPv6 in brackets), for when the default
engage\.cloudflareclient\.com:2408 is blocked: another Cloudflare address, another port WARP
answers on (500, 1701, 4500, …), or a relay\. Applied in every mode when the tunnel or
AmneziaWG profile starts; the profile file itself is left as is\.
*Type:*
null or string matching the pattern (\\\[\[0-9A-Fa-f:\.]+]|\[^]:\[]+):\[0-9]+
*Default:*
```nix
null
```
*Example:*
```nix
"162.159.192.1:500"
```
<a id="services-proxy-suite-warp-generatorurl"></a>
## services\.proxy-suite\.warp\.generatorUrl