-
Notifications
You must be signed in to change notification settings - Fork 2
/
defconfig.tmpl
executable file
·154 lines (150 loc) · 3.93 KB
/
defconfig.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
struct config_data config = {
.vpn = {
.mode = "L3IPsec",
.virtualGatewayMacAddress = "00-88-88-88-88-88",
.bindV4 = "true",
.guestIpAddressV4 = "192.168.100.1",
.guestIpSubnetV4 = "255.255.255.0",
.guestMtuV4 = "1400",
/* .guestVirtualGatewayIpAddressV4 = "192.168.6.254", */
.dhcpV4 = "true",
.dhcpLeaseExpiresV4 = "3600",
.dhcpDnsV4 = "192.168.3.254",
.dhcpDomainV4 = "sec.softether.co.jp",
.adjustTcpMssV4 = "1240",
.hostIpAddressV4 = "192.168.12.11",
.hostIpSubnetV4 = "255.255.255.0",
.hostMtuV4 = "1500",
.hostIpDefaultGatewayV4 = "192.168.12.254",
.optionV4ArpExpires = "60",
.optionV4ArpDontUpdateExpires = "true",
.vpnGatewayAddressV4 = "192.168.11.1",
.vpnAuthMethodV4 = "Password",
.vpnPasswordV4 = "password1",
.vpnIdStringV4 = "user1@tsukuba.ac.jp",
.vpnCertV4 = "",
.vpnCaCertV4 = "",
.vpnRsaKeyV4 = "",
.vpnSpecifyIssuerV4 = "false",
.vpnPhase1ModeV4 = "Aggressive",
.vpnPhase1CryptoV4 = "3DES",
.vpnPhase1HashV4 = "SHA-1",
.vpnPhase1LifeSecondsV4 = "7200",
.vpnPhase1LifeKilobytesV4 = "0",
.vpnWaitPhase2BlankSpanV4 = "100",
.vpnPhase2CryptoV4 = "3DES",
.vpnPhase2HashV4 = "SHA-1",
.vpnPhase2LifeSecondsV4 = "7200",
.vpnPhase2LifeKilobytesV4 = "0",
.vpnConnectTimeoutV4 = "5",
.vpnIdleTimeoutV4 = "300",
.vpnPingTargetV4 = "192.168.3.120",
.vpnPingIntervalV4 = "12",
.vpnPingMsgSizeV4 = "32",
.bindV6 = "false",
.guestIpAddressPrefixV6 = "2000::",
.guestIpAddressSubnetV6 = "64",
.guestMtuV6 = "1400",
.raV6 = "true",
.raLifetimeV6 = "300",
.raDnsV6 = "2001:dc4::1",
.hostIpAddressV6 = "5000::1:2:3:4",
.hostIpAddressSubnetV6 = "64",
.hostMtuV6 = "1500",
.hostIpDefaultGatewayV6 = "5000::254",
.optionV6NeighborExpires = "60",
.vpnGatewayAddressV6 = "1000::1",
.vpnAuthMethodV6 = "Password",
.vpnPasswordV6 = "Akihabara",
.vpnIdStringV6 = "testv6@tsukuba.ac.jp",
.vpnCertV6 = "",
.vpnRsaKeyV6 = "",
.vpnPhase1CryptoV6 = "3DES",
.vpnPhase1HashV6 = "SHA-1",
.vpnPhase1LifeSecondsV6 = "7200",
.vpnPhase1LifeKilobytesV6 = "0",
.vpnWaitPhase2BlankSpanV6 = "100",
.vpnPhase1ModeV6 = "Aggressive",
.vpnPhase2CryptoV6 = "3DES",
.vpnPhase2HashV6 = "SHA-1",
.vpnPhase2LifeSecondsV6 = "7200",
.vpnPhase2LifeKilobytesV6 = "0",
.vpnPhase2StrictIdV6 = "false",
.vpnConnectTimeoutV6 = "5",
.vpnIdleTimeoutV6 = "300",
.vpnPingTargetV6 = "2001:200:564:0:230:48ff:fe83:cf41",
.vpnPingIntervalV6 = "12",
.vpnPingMsgSizeV6 = "32",
},
.storage = {
.keys[0] = {
0x26, 0x3f, 0xe6, 0xcd, 0xb7, 0xb8, 0xd8, 0xce,
0x32, 0x6e, 0x13, 0xdc, 0x08, 0xaa, 0x69, 0x15,
0xf9, 0xd8, 0x1d, 0x8a, 0xc6, 0x20, 0xca, 0x5c,
0x92, 0xaa, 0x0f, 0x73, 0x4f, 0x74, 0x8d, 0xed,
},
.keys_conf[0] = {
.guid = STORAGE_GUID_NULL,
.type = STORAGE_TYPE_NULL,
.host_id = 0,
.device_id = 0,
.lba_low = 63ULL,
.lba_high = 12851999ULL,
.crypto_name = "aes-xts",
.keyindex = 0,
.keybits = 256,
},
.keys_conf[1] = {
.guid = STORAGE_GUID_NULL,
.type = STORAGE_TYPE_USB,
.host_id = 0,
.device_id = 0,
.lba_low = 0ULL,
.lba_high = 0x7fffffffULL,
.crypto_name = "aes-xts",
.keyindex = 0,
.keybits = 256,
},
.keys_conf[2] = {
.guid = STORAGE_GUID_NULL,
.type = STORAGE_TYPE_ATAPI,
.host_id = 1,
.device_id = 0,
.lba_low = 0ULL,
.lba_high = 1409024ULL,
.crypto_name = "aes-xts",
.keyindex = 0,
.keybits = 256,
},
},
.vmm = {
.f11panic = 1,
.f12msg = 1,
.auto_reboot = 1,
.panic_reboot = 0,
.shell = 1,
.dbgsh = 1,
.no_intr_intercept = 0,
.ignore_tsc_invariant = 0,
.unsafe_nested_virtualization = 0,
.tty_mac_address = {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
},
.tty_syslog = {
.enable = 0,
.src_ipaddr = { 0, 0, 0, 0 },
.dst_ipaddr = { 0, 0, 0, 0 },
},
.tty_pro1000 = 0,
.tty_rtl8169 = 0,
.tty_x540 = 0,
.tty_ieee1394 = 0,
.driver = {
.pci = "",
},
.iccard = {
.enable = 0,
.status = 0,
},
},
};