From 3b1d2a46b007c7ae072da753fe5ddfafaa2b6f9e Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Thu, 30 Dec 2021 19:26:19 +0100 Subject: [PATCH] feat(temp-privatek8s) add automatic routing to the temp-privatek8s network Using the following commands after updating the config.yaml: mv cert/ccd /tmp/ccd mkdir cert/ccd ./easyvpn config --commit=false $( echo $(ls -1 /tmp/ccd)) Signed-off-by: Damien Duportal --- cert/ccd/abayer | 3 ++- cert/ccd/aheritier | 3 ++- cert/ccd/danielbeck | 5 ++--- cert/ccd/dduportal | 3 ++- cert/ccd/garethjevans | 3 ++- cert/ccd/halkeye | 3 ++- cert/ccd/hlemeur | 3 ++- cert/ccd/jequals5 | 3 ++- cert/ccd/jthompson | 3 ++- cert/ccd/jvz | 3 ++- cert/ccd/kevingrdj | 3 ++- cert/ccd/markewaite | 3 ++- cert/ccd/mpapo | 3 ++- cert/ccd/olblak | 5 ++--- cert/ccd/oleg_nenashev | 3 ++- cert/ccd/olivergondza | 3 ++- cert/ccd/slide_o_mix | 3 ++- cert/ccd/smerle | 3 ++- cert/ccd/timja | 3 ++- cert/ccd/vsilverman | 3 ++- cert/ccd/wfollonier | 3 ++- config.yaml | 2 ++ 22 files changed, 44 insertions(+), 25 deletions(-) diff --git a/cert/ccd/abayer b/cert/ccd/abayer index 7eb2a77..d245aca 100644 --- a/cert/ccd/abayer +++ b/cert/ccd/abayer @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.20 255.255.254.0 +ifconfig-push 10.8.0.2 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/aheritier b/cert/ccd/aheritier index 294800e..3eb7db7 100644 --- a/cert/ccd/aheritier +++ b/cert/ccd/aheritier @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.6 255.255.254.0 +ifconfig-push 10.8.0.3 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/danielbeck b/cert/ccd/danielbeck index 667cf02..65fe511 100644 --- a/cert/ccd/danielbeck +++ b/cert/ccd/danielbeck @@ -1,4 +1,3 @@ -ifconfig-push 10.8.1.3 255.255.254.0 -push "route 10.0.1.0 255.255.255.0" +ifconfig-push 10.8.0.4 255.255.254.0 push "route 10.0.2.0 255.255.255.0" -push "route 10.0.99.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/dduportal b/cert/ccd/dduportal index 28254f8..20157cf 100644 --- a/cert/ccd/dduportal +++ b/cert/ccd/dduportal @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.16 255.255.254.0 +ifconfig-push 10.8.0.5 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/garethjevans b/cert/ccd/garethjevans index 90ea60a..8c069bc 100644 --- a/cert/ccd/garethjevans +++ b/cert/ccd/garethjevans @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.15 255.255.254.0 +ifconfig-push 10.8.0.6 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/halkeye b/cert/ccd/halkeye index ae87a4f..66d2fd9 100644 --- a/cert/ccd/halkeye +++ b/cert/ccd/halkeye @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.11 255.255.254.0 +ifconfig-push 10.8.0.7 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/hlemeur b/cert/ccd/hlemeur index 03861f5..72af7a4 100644 --- a/cert/ccd/hlemeur +++ b/cert/ccd/hlemeur @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.17 255.255.254.0 +ifconfig-push 10.8.0.8 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/jequals5 b/cert/ccd/jequals5 index fe0ddb3..8d2cedd 100644 --- a/cert/ccd/jequals5 +++ b/cert/ccd/jequals5 @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.13 255.255.254.0 +ifconfig-push 10.8.0.9 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/jthompson b/cert/ccd/jthompson index 1502255..8def890 100644 --- a/cert/ccd/jthompson +++ b/cert/ccd/jthompson @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.2 255.255.254.0 +ifconfig-push 10.8.0.10 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/jvz b/cert/ccd/jvz index 364eedc..1f7e4a2 100644 --- a/cert/ccd/jvz +++ b/cert/ccd/jvz @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.4 255.255.254.0 +ifconfig-push 10.8.0.11 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/kevingrdj b/cert/ccd/kevingrdj index e02a04d..a86213d 100644 --- a/cert/ccd/kevingrdj +++ b/cert/ccd/kevingrdj @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.19 255.255.254.0 +ifconfig-push 10.8.0.12 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/markewaite b/cert/ccd/markewaite index 8fd5fe3..f5e5ea5 100644 --- a/cert/ccd/markewaite +++ b/cert/ccd/markewaite @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.12 255.255.254.0 +ifconfig-push 10.8.0.13 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/mpapo b/cert/ccd/mpapo index 19fee11..7e368bb 100644 --- a/cert/ccd/mpapo +++ b/cert/ccd/mpapo @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.8 255.255.254.0 +ifconfig-push 10.8.0.14 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/olblak b/cert/ccd/olblak index 14c935f..15a42a7 100644 --- a/cert/ccd/olblak +++ b/cert/ccd/olblak @@ -1,4 +1,3 @@ -ifconfig-push 10.8.1.2 255.255.254.0 -push "route 10.0.1.0 255.255.255.0" +ifconfig-push 10.8.0.15 255.255.254.0 push "route 10.0.2.0 255.255.255.0" -push "route 10.0.99.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/oleg_nenashev b/cert/ccd/oleg_nenashev index fb1a249..595fd31 100644 --- a/cert/ccd/oleg_nenashev +++ b/cert/ccd/oleg_nenashev @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.9 255.255.254.0 +ifconfig-push 10.8.0.16 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/olivergondza b/cert/ccd/olivergondza index 2888a32..8410f43 100644 --- a/cert/ccd/olivergondza +++ b/cert/ccd/olivergondza @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.7 255.255.254.0 +ifconfig-push 10.8.0.17 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/slide_o_mix b/cert/ccd/slide_o_mix index 98e20ad..9e17ce3 100644 --- a/cert/ccd/slide_o_mix +++ b/cert/ccd/slide_o_mix @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.5 255.255.254.0 +ifconfig-push 10.8.0.18 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/smerle b/cert/ccd/smerle index a25d381..a028543 100644 --- a/cert/ccd/smerle +++ b/cert/ccd/smerle @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.18 255.255.254.0 +ifconfig-push 10.8.0.19 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/timja b/cert/ccd/timja index 6a13280..a98c0b8 100644 --- a/cert/ccd/timja +++ b/cert/ccd/timja @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.10 255.255.254.0 +ifconfig-push 10.8.0.20 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/vsilverman b/cert/ccd/vsilverman index 2a30d01..a665c25 100644 --- a/cert/ccd/vsilverman +++ b/cert/ccd/vsilverman @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.14 255.255.254.0 +ifconfig-push 10.8.0.21 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/cert/ccd/wfollonier b/cert/ccd/wfollonier index 827fab0..a5691bf 100644 --- a/cert/ccd/wfollonier +++ b/cert/ccd/wfollonier @@ -1,2 +1,3 @@ -ifconfig-push 10.8.0.3 255.255.254.0 +ifconfig-push 10.8.0.22 255.255.254.0 push "route 10.0.2.0 255.255.255.0" +push "route 10.240.0.0 255.252.0.0" diff --git a/config.yaml b/config.yaml index 54547ad..d4a4bdb 100644 --- a/config.yaml +++ b/config.yaml @@ -8,6 +8,7 @@ networks: netmask: 255.255.254.0 routes: - 10.0.2.0/24 + - 10.240.0.0/14 - name: admin iprange: 10.8.1.1/24 netmask: 255.255.254.0 @@ -15,3 +16,4 @@ networks: - 10.0.1.0/24 - 10.0.2.0/24 - 10.0.99.0/24 + - 10.240.0.0/14