Pārlūkot izejas kodu

move gw-keys to domain.tmpl

Karsten Böddeker 6 gadi atpakaļ
vecāks
revīzija
89b36530f4
2 mainītis faili ar 6 papildinājumiem un 22 dzēšanām
  1. 6 0
      domain.tmpl
  2. 0 22
      site.conf

+ 6 - 0
domain.tmpl

@@ -52,6 +52,7 @@
 					-- list all available vpn servers
 					peers = {
 						gw01 = {
+							key = '97bc56ae561f67cfe15364134868c3553b5f1eab06f7bd9c5b93fbf280a52b51',
 							-- remotes is an array of ways on how to reach the VPN server
 							-- Use public addresses here, these addresses are used when the mesh might not be connected yet.
 							-- format: '[|ipv4|ipv6] "hostname-or-ip-address" port 10000'
@@ -62,6 +63,7 @@
 							},
 						},
 						gw02 = {
+							key = 'e8fa9bf402fd33dd1ba804a97f2e46c704423ff49e9c55312845a7bfb93121ad',
 							remotes = {
 								'"gw02.ffho.net" port 100%ID',
 								'ipv6 "2a01:4f8:190:6500::18:1" port 100%ID',
@@ -69,6 +71,7 @@
 							},
 						},
 						gw03 = {
+							key = '629b2742922f068ef49558283aea4b75c1427d8cdd3fcd2dbd7c00880547d3b3',
 							remotes = {
 								'"gw03.ffho.net" port 100%ID',
 								'ipv6 "2a00:13c8:1000:2::165" port 100%ID',
@@ -76,6 +79,7 @@
 							},
 						},
 						gw04 = {
+							key = 'cf3855e5fa04e4c04a294cb6e8902f91c7ff7ef82bf031cc842a2b79b936677c',
 							remotes = {
 								'"gw04.ffho.net" port 100%ID',
 								'ipv6 "2a02:450:1::22" port 100%ID',
@@ -83,6 +87,7 @@
 							},
 						},
 						gw05 = {
+							key = 'd0d32a2f536a0fc1f0c848e6da15bd96851d5ff4fdf9239c830bab033ddcec1a',
 							remotes = {
 								'"gw05.ffho.net" port 100%ID',
 								'ipv6 "2001:638:502:1884::ff15" port 100%ID',
@@ -90,6 +95,7 @@
 							},
 						},
 						gw06 = {
+							key = '88b570c4cc811259b7c4106943098c9bee1126d692ddacedd23cd48efc28b0bf',
 							remotes = {
 								'"gw06.ffho.net" port 100%ID',
 							},

+ 0 - 22
site.conf

@@ -65,28 +65,6 @@
 					-- specifies how many servers are contacted
 					-- by a client simultanously
 					limit = 1,
-
-					-- list all available vpn servers
-					peers = {
-						gw01 = {
-							key = '97bc56ae561f67cfe15364134868c3553b5f1eab06f7bd9c5b93fbf280a52b51',
-						},
-						gw02 = {
-							key = 'e8fa9bf402fd33dd1ba804a97f2e46c704423ff49e9c55312845a7bfb93121ad',
-						},
-						gw03 = {
-							key = '629b2742922f068ef49558283aea4b75c1427d8cdd3fcd2dbd7c00880547d3b3',
-						},
-						gw04 = {
-							key = 'cf3855e5fa04e4c04a294cb6e8902f91c7ff7ef82bf031cc842a2b79b936677c',
-						},
-						gw05 = {
-							key = 'd0d32a2f536a0fc1f0c848e6da15bd96851d5ff4fdf9239c830bab033ddcec1a',
-						},
-						gw06 = {
-							key = '88b570c4cc811259b7c4106943098c9bee1126d692ddacedd23cd48efc28b0bf',
-						},
-					},
 				},
 			},
 		},