From 7266496cacc5074139ef94f3e23d122e6a648bb0 Mon Sep 17 00:00:00 2001 From: yo Date: Sun, 26 Jun 2022 20:02:28 +0200 Subject: [PATCH] Memo for network configuration --- cmd/struct.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/struct.go b/cmd/struct.go index f28923b..762a703 100644 --- a/cmd/struct.go +++ b/cmd/struct.go @@ -98,8 +98,10 @@ type JailConfig struct { Host_time int `json:"host_time"` Hostid string `json:"hostid"` Hostid_strict_check int `json:"hostid_strict_check"` +// Specify multiple net cards with "vnet0:bridge0,vnet1:bridge1" Interfaces string `json:"interfaces"` Ip4 string `json:"ip4"` +// Specify multiples IP with "vnet0|192.168.1.42,vnet1|10.0.0.3" Ip4_addr string `json:"ip4_addr"` Ip4_saddrsel string `json:"ip4_saddrsel"` Ip6 string `json:"ip6"`