vpn_server.config 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. # Software Configuration File
  2. # ---------------------------
  3. #
  4. # You may edit this file when the VPN Server / Client / Bridge program is not running.
  5. #
  6. # In prior to edit this file manually by your text editor,
  7. # shutdown the VPN Server / Client / Bridge background service.
  8. # Otherwise, all changes will be lost.
  9. #
  10. declare root
  11. {
  12. uint ConfigRevision 0
  13. bool IPsecMessageDisplayed true
  14. string Region $
  15. bool VgsMessageDisplayed false
  16. declare DDnsClient
  17. {
  18. bool Disabled true
  19. }
  20. declare IPsec
  21. {
  22. bool EtherIP_IPsec false
  23. string IPsec_Secret vpn
  24. string L2TP_DefaultHub DEFAULT
  25. bool L2TP_IPsec false
  26. bool L2TP_Raw false
  27. declare EtherIP_IDSettingsList
  28. {
  29. }
  30. }
  31. declare ListenerList
  32. {
  33. declare Listener0
  34. {
  35. bool DisableDos false
  36. bool Enabled true
  37. uint Port 5555
  38. }
  39. }
  40. declare LocalBridgeList
  41. {
  42. bool DoNotDisableOffloading false
  43. }
  44. declare ServerConfiguration
  45. {
  46. bool AcceptOnlyTls true
  47. uint64 AutoDeleteCheckDiskFreeSpaceMin 104857600
  48. uint AutoDeleteCheckIntervalSecs 300
  49. uint AutoSaveConfigSpan 300
  50. bool BackupConfigOnlyWhenModified false
  51. string CipherName AES128-GCM-SHA256
  52. bool DisableCoreDumpOnUnix false
  53. bool DisableDeadLockCheck false
  54. bool DisableDosProction false
  55. bool DisableGetHostNameWhenAcceptTcp false
  56. bool DisableIntelAesAcceleration false
  57. bool DisableIPsecAggressiveMode false
  58. bool DisableIPv6Listener true
  59. bool DisableJsonRpcWebApi true
  60. bool DisableNatTraversal false
  61. bool DisableOpenVPNServer true
  62. bool DisableSessionReconnect false
  63. bool DisableSSTPServer true
  64. bool DontBackupConfig true
  65. bool EnableVpnOverDns false
  66. bool EnableVpnOverIcmp false
  67. byte HashedPassword UGTVAqbtJObBO6LCJaQZyEby2pg=
  68. string KeepConnectHost 127.0.0.1
  69. uint KeepConnectInterval 30
  70. uint KeepConnectPort 80
  71. uint KeepConnectProtocol 0
  72. uint64 LoggerMaxLogSize 1073741823
  73. uint MaxConcurrentDnsClientThreads 512
  74. uint MaxConnectionsPerIP 256
  75. uint MaxUnestablishedConnections 1000
  76. bool NoHighPriorityProcess false
  77. bool NoLinuxArpFilter false
  78. bool NoSendSignature false
  79. bool SaveDebugLog false
  80. uint ServerLogSwitchType 4
  81. uint ServerType 0
  82. bool StrictSyslogDatetimeFormat false
  83. bool Tls_Disable1_0 false
  84. bool Tls_Disable1_1 false
  85. bool Tls_Disable1_2 false
  86. bool Tls_Disable1_3 false
  87. bool UseKeepConnect false
  88. bool UseWebTimePage false
  89. bool UseWebUI false
  90. declare GlobalParams
  91. {
  92. uint FIFO_BUDGET 10240000
  93. uint HUB_ARP_SEND_INTERVAL 5000
  94. uint IP_TABLE_EXPIRE_TIME 60000
  95. uint IP_TABLE_EXPIRE_TIME_DHCP 300000
  96. uint MAC_TABLE_EXPIRE_TIME 600000
  97. uint MAX_BUFFERING_PACKET_SIZE 2560000
  98. uint MAX_HUB_LINKS 1024
  99. uint MAX_IP_TABLES 65536
  100. uint MAX_MAC_TABLES 65536
  101. uint MAX_SEND_SOCKET_QUEUE_NUM 128
  102. uint MAX_SEND_SOCKET_QUEUE_SIZE 2560000
  103. uint MAX_STORED_QUEUE_NUM 1024
  104. uint MEM_FIFO_REALLOC_MEM_SIZE 655360
  105. uint MIN_SEND_SOCKET_QUEUE_SIZE 320000
  106. uint QUEUE_BUDGET 2048
  107. uint SELECT_TIME 256
  108. uint SELECT_TIME_FOR_NAT 30
  109. uint STORM_CHECK_SPAN 500
  110. uint STORM_DISCARD_VALUE_END 1024
  111. uint STORM_DISCARD_VALUE_START 3
  112. }
  113. declare ServerTraffic
  114. {
  115. }
  116. declare SyslogSettings
  117. {
  118. string HostName $
  119. uint Port 0
  120. uint SaveType 0
  121. }
  122. }
  123. declare VirtualHUB
  124. {
  125. declare DEFAULT
  126. {
  127. uint64 CreatedTime 0
  128. byte HashedPassword UGTVAqbtJObBO6LCJaQZyEby2pg=
  129. uint64 LastCommTime 0
  130. uint64 LastLoginTime 0
  131. uint NumLogin 0
  132. bool Online true
  133. bool RadiusConvertAllMsChapv2AuthRequestToEap false
  134. string RadiusRealm $
  135. uint RadiusRetryInterval 0
  136. uint RadiusServerPort 0
  137. string RadiusSuffixFilter $
  138. bool RadiusUsePeapInsteadOfEap false
  139. uint Type 0
  140. declare AccessList
  141. {
  142. declare 1
  143. {
  144. bool Active true
  145. bool CheckDstMac false
  146. bool CheckSrcMac false
  147. bool CheckTcpState false
  148. uint Delay 0
  149. string DestIpAddress 0.0.0.0
  150. uint DestPortEnd 0
  151. uint DestPortStart 0
  152. string DestSubnetMask 0.0.0.0
  153. string DestUsername $
  154. bool Discard false
  155. bool Established false
  156. bool IsIPv6 false
  157. uint Jitter 0
  158. uint Loss 0
  159. string Note $
  160. uint Priority 1000
  161. uint Protocol 0
  162. string RedirectUrl $
  163. string SrcIpAddress 0.0.0.0
  164. uint SrcPortEnd 0
  165. uint SrcPortStart 0
  166. string SrcSubnetMask 0.0.0.0
  167. string SrcUsername $
  168. }
  169. }
  170. declare AdminOption
  171. {
  172. uint allow_hub_admin_change_option 0
  173. uint deny_bridge 0
  174. uint deny_change_user_password 0
  175. uint deny_empty_password 0
  176. uint deny_hub_admin_change_ext_option 0
  177. uint deny_qos 0
  178. uint deny_routing 0
  179. uint max_accesslists 0
  180. uint max_bitrates_download 0
  181. uint max_bitrates_upload 0
  182. uint max_groups 0
  183. uint max_multilogins_per_user 0
  184. uint max_sessions 0
  185. uint max_sessions_bridge 0
  186. uint max_sessions_client 0
  187. uint max_sessions_client_bridge_apply 0
  188. uint max_users 0
  189. uint no_access_list_include_file 0
  190. uint no_cascade 0
  191. uint no_change_access_control_list 0
  192. uint no_change_access_list 0
  193. uint no_change_admin_password 0
  194. uint no_change_cert_list 0
  195. uint no_change_crl_list 0
  196. uint no_change_groups 0
  197. uint no_change_log_config 0
  198. uint no_change_log_switch_type 0
  199. uint no_change_msg 0
  200. uint no_change_users 0
  201. uint no_delay_jitter_packet_loss 1
  202. uint no_delete_iptable 0
  203. uint no_delete_mactable 0
  204. uint no_disconnect_session 0
  205. uint no_enum_session 0
  206. uint no_offline 0
  207. uint no_online 0
  208. uint no_query_session 0
  209. uint no_read_log_file 0
  210. uint no_securenat 0
  211. uint no_securenat_enabledhcp 0
  212. uint no_securenat_enablenat 0
  213. }
  214. declare CascadeList
  215. {
  216. }
  217. declare LogSetting
  218. {
  219. uint PacketLogSwitchType 4
  220. uint PACKET_LOG_ARP 0
  221. uint PACKET_LOG_DHCP 1
  222. uint PACKET_LOG_ETHERNET 0
  223. uint PACKET_LOG_ICMP 0
  224. uint PACKET_LOG_IP 0
  225. uint PACKET_LOG_TCP 0
  226. uint PACKET_LOG_TCP_CONN 1
  227. uint PACKET_LOG_UDP 0
  228. bool SavePacketLog false
  229. bool SaveSecurityLog true
  230. uint SecurityLogSwitchType 4
  231. }
  232. declare Message
  233. {
  234. }
  235. declare Option
  236. {
  237. uint AccessListIncludeFileCacheLifetime 30
  238. uint AdjustTcpMssValue 0
  239. bool ApplyIPv4AccessListOnArpPacket false
  240. bool AssignVLanIdByRadiusAttribute false
  241. bool BroadcastLimiterStrictMode false
  242. uint BroadcastStormDetectionThreshold 0
  243. uint ClientMinimumRequiredBuild 0
  244. bool DenyAllRadiusLoginWithNoVlanAssign false
  245. uint DetectDormantSessionInterval 0
  246. bool DisableAdjustTcpMss false
  247. bool DisableCheckMacOnLocalBridge false
  248. bool DisableCorrectIpOffloadChecksum false
  249. bool DisableHttpParsing false
  250. bool DisableIPParsing false
  251. bool DisableIpRawModeSecureNAT false
  252. bool DisableKernelModeSecureNAT false
  253. bool DisableUdpAcceleration false
  254. bool DisableUdpFilterForLocalBridgeNic false
  255. bool DisableUserModeSecureNAT false
  256. bool DoNotSaveHeavySecurityLogs false
  257. bool DropArpInPrivacyFilterMode true
  258. bool DropBroadcastsInPrivacyFilterMode true
  259. bool FilterBPDU false
  260. bool FilterIPv4 false
  261. bool FilterIPv6 false
  262. bool FilterNonIP false
  263. bool FilterOSPF false
  264. bool FilterPPPoE false
  265. uint FloodingSendQueueBufferQuota 33554432
  266. bool ManageOnlyLocalUnicastIPv6 true
  267. bool ManageOnlyPrivateIP true
  268. uint MaxLoggedPacketsPerMinute 0
  269. uint MaxSession 0
  270. bool NoArpPolling false
  271. bool NoDhcpPacketLogOutsideHub true
  272. bool NoEnum false
  273. bool NoIpTable false
  274. bool NoIPv4PacketLog false
  275. bool NoIPv6AddrPolling false
  276. bool NoIPv6DefaultRouterInRAWhenIPv6 true
  277. bool NoIPv6PacketLog false
  278. bool NoLookBPDUBridgeId false
  279. bool NoMacAddressLog true
  280. bool NoManageVlanId false
  281. bool NoPhysicalIPOnPacketLog false
  282. bool NoSpinLockForPacketDelay false
  283. bool RemoveDefGwOnDhcpForLocalhost true
  284. uint RequiredClientId 0
  285. uint SecureNAT_MaxDnsSessionsPerIp 0
  286. uint SecureNAT_MaxIcmpSessionsPerIp 0
  287. uint SecureNAT_MaxTcpSessionsPerIp 0
  288. uint SecureNAT_MaxTcpSynSentPerIp 0
  289. uint SecureNAT_MaxUdpSessionsPerIp 0
  290. bool SecureNAT_RandomizeAssignIp false
  291. bool SuppressClientUpdateNotification true
  292. bool UseHubNameAsDhcpUserClassOption false
  293. bool UseHubNameAsRadiusNasId false
  294. string VlanTypeId 0x8100
  295. bool YieldAfterStorePacket false
  296. }
  297. declare SecureNAT
  298. {
  299. bool Disabled false
  300. bool SaveLog false
  301. declare VirtualDhcpServer
  302. {
  303. string DhcpDnsServerAddress 8.8.8.8
  304. string DhcpDnsServerAddress2 8.8.4.4
  305. string DhcpDomainName $
  306. bool DhcpEnabled true
  307. uint DhcpExpireTimeSpan 7200
  308. string DhcpGatewayAddress 192.168.233.1
  309. string DhcpLeaseIPEnd 192.168.233.200
  310. string DhcpLeaseIPStart 192.168.233.10
  311. string DhcpPushRoutes $
  312. string DhcpSubnetMask 255.255.255.0
  313. }
  314. declare VirtualHost
  315. {
  316. string VirtualHostIp 192.168.233.1
  317. string VirtualHostIpSubnetMask 255.255.255.0
  318. }
  319. declare VirtualRouter
  320. {
  321. bool NatEnabled true
  322. uint NatMtu 1500
  323. uint NatTcpTimeout 600
  324. uint NatUdpTimeout 60
  325. }
  326. }
  327. declare SecurityAccountDatabase
  328. {
  329. declare CertList
  330. {
  331. }
  332. declare CrlList
  333. {
  334. }
  335. declare GroupList
  336. {
  337. }
  338. declare IPAccessControlList
  339. {
  340. }
  341. declare UserList
  342. {
  343. }
  344. }
  345. declare Traffic
  346. {
  347. }
  348. }
  349. }
  350. declare VirtualLayer3SwitchList
  351. {
  352. }
  353. }