fix ip
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
2025-12-29 00:49:16 +00:00
parent 9c2c67fbe1
commit a5871d399b
3 changed files with 7 additions and 7 deletions

View File

@@ -11,9 +11,9 @@ set -e
BRIDGE_NAME="${BRIDGE_NAME:-br-rego-vpn}" BRIDGE_NAME="${BRIDGE_NAME:-br-rego-vpn}"
TAP_NAME="${TAP_NAME:-tap0}" TAP_NAME="${TAP_NAME:-tap0}"
BRIDGE_CIDR="${BRIDGE_CIDR:-100.100.0.1/24}" BRIDGE_CIDR="${BRIDGE_CIDR:-100.100.0.1}/24"
VM_NET_IP="${VM_NET_IP:-100.100.0.2}" VM_NET_IP="${VM_NET_IP:-100.100.0.2}"
VM_SUBNET="${VM_SUBNET:-100.100.0.0/24}" VM_SUBNET="${VM_SUBNET:-100.100.0.0}/24"
TARGET_IP="${TARGET_IP:-10.35.33.230}" TARGET_IP="${TARGET_IP:-10.35.33.230}"
# Pick the outbound interface based on the container's default route. # Pick the outbound interface based on the container's default route.

View File

@@ -2,7 +2,7 @@
set -euo pipefail set -euo pipefail
BRIDGE_NAME="${BRIDGE_NAME:-br-rego-vpn}" BRIDGE_NAME="${BRIDGE_NAME:-br-rego-vpn}"
BRIDGE_CIDR="${BRIDGE_CIDR:-100.100.0.1/24}" BRIDGE_CIDR="${BRIDGE_CIDR:-100.100.0.1}/24"
VM_NET_IP="${VM_NET_IP:-100.100.0.2}" VM_NET_IP="${VM_NET_IP:-100.100.0.2}"
VM_MAC="${VM_MAC:-52:54:00:12:34:56}" VM_MAC="${VM_MAC:-52:54:00:12:34:56}"

View File

@@ -71,19 +71,19 @@
"type": "ip", "type": "ip",
"label": "Bridge CIDR", "label": "Bridge CIDR",
"hint": "Bridge address/CIDR assigned inside the container", "hint": "Bridge address/CIDR assigned inside the container",
"placeholder": "100.100.0.1/24", "placeholder": "100.100.0.1",
"required": true, "required": true,
"env_variable": "BRIDGE_CIDR", "env_variable": "BRIDGE_CIDR",
"default": "100.100.0.1/24" "default": "100.100.0.1"
}, },
{ {
"type": "ip", "type": "ip",
"label": "VM subnet", "label": "VM subnet",
"hint": "Subnet that should be NATed out of the container", "hint": "Subnet that should be NATed out of the container",
"placeholder": "100.100.0.0/24", "placeholder": "100.100.0.0",
"required": true, "required": true,
"env_variable": "VM_SUBNET", "env_variable": "VM_SUBNET",
"default": "100.100.0.0/24" "default": "100.100.0.0"
}, },
{ {
"type": "ip", "type": "ip",