Memo for network configuration

This commit is contained in:
yo 2022-06-26 20:02:28 +02:00
parent 5b0de24508
commit 7266496cac

View File

@ -98,8 +98,10 @@ type JailConfig struct {
Host_time int `json:"host_time"` Host_time int `json:"host_time"`
Hostid string `json:"hostid"` Hostid string `json:"hostid"`
Hostid_strict_check int `json:"hostid_strict_check"` Hostid_strict_check int `json:"hostid_strict_check"`
// Specify multiple net cards with "vnet0:bridge0,vnet1:bridge1"
Interfaces string `json:"interfaces"` Interfaces string `json:"interfaces"`
Ip4 string `json:"ip4"` 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_addr string `json:"ip4_addr"`
Ip4_saddrsel string `json:"ip4_saddrsel"` Ip4_saddrsel string `json:"ip4_saddrsel"`
Ip6 string `json:"ip6"` Ip6 string `json:"ip6"`