feat(NetworkConfig): add network configuration routes and validation; integrate into server and frontend for managing IP, interfaces, and gateways
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m27s

This commit is contained in:
2026-01-22 10:08:51 +07:00
parent dace11a407
commit d949e011c9
5 changed files with 1222 additions and 21 deletions
+107
View File
@@ -0,0 +1,107 @@
{
"gateways": [
{
"id": "gw-cloudflare-swe",
"name": "SWE-IHOR",
"ip": "94.142.140.1",
"provider": "cloudflare",
"country": "SWE",
"description": "Cloudflare Sweden - основной выход"
},
{
"id": "gw-bunny-swe",
"name": "SWE-BUNNY",
"ip": "94.142.140.2",
"provider": "bunny",
"country": "SWE",
"description": "Bunny CDN Sweden"
},
{
"id": "gw-telegram-1",
"name": "TG-PROXY-1",
"ip": "149.154.167.50",
"provider": "telegram",
"country": "NL",
"description": "Telegram DC2"
},
{
"id": "gw-hetzner-de",
"name": "DE-HETZNER",
"ip": "195.100.30.21",
"provider": "hetzner",
"country": "DE",
"description": "Hetzner Frankfurt"
},
{
"id": "gw-fastly-us",
"name": "US-FASTLY",
"ip": "151.101.1.1",
"provider": "fastly",
"country": "US",
"description": "Fastly US East"
}
],
"tunnelInterfaces": [
{
"id": "if-gre-swe-de",
"name": "gre-swe-de",
"type": "GRE",
"localIp": "10.10.0.1",
"remoteIp": "10.10.0.2",
"port": "",
"serverId": "SWE-HIPHOST"
},
{
"id": "if-wg-swe-nl",
"name": "wg0",
"type": "WireGuard",
"localIp": "10.20.0.1",
"remoteIp": "10.20.0.2",
"port": "51820",
"serverId": "SWE-HIPHOST"
},
{
"id": "if-gre-de-us",
"name": "gre-de-us",
"type": "GRE",
"localIp": "10.10.1.1",
"remoteIp": "10.10.1.2",
"port": "",
"serverId": "DE-FRANKFURT"
},
{
"id": "if-ipsec-nl-jp",
"name": "ipsec-nl-jp",
"type": "IPSec",
"localIp": "10.30.0.1",
"remoteIp": "10.30.0.2",
"port": "",
"serverId": "NL-AMSTERDAM"
}
],
"ipPools": [
{
"id": "pool-gre",
"name": "GRE Tunnels",
"cidr": "10.10.0.0/16",
"description": "Пул для GRE туннелей между серверами"
},
{
"id": "pool-wg",
"name": "WireGuard",
"cidr": "10.20.0.0/16",
"description": "Пул для WireGuard интерфейсов"
},
{
"id": "pool-ipsec",
"name": "IPSec VPN",
"cidr": "10.30.0.0/16",
"description": "Пул для IPSec туннелей"
}
],
"defaults": {
"baseUrl": "https://functions.yandexcloud.net/d4eno3im0qgsr4tj5hdo",
"type": "routes",
"version": "v4.rsc"
}
}