Skip to content

Commit

Permalink
Fix/default vpn/nets (#283)
Browse files Browse the repository at this point in the history
* fix(vpn.jenkins.io) cleanup netmask and unused networks

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>

* cleanup(vpn.jenkins.io) removed unused accounts

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>

* cleanup(tests) update setups

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>

---------

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
  • Loading branch information
dduportal authored Jun 24, 2023
1 parent 31faee1 commit 1e001ef
Show file tree
Hide file tree
Showing 33 changed files with 23 additions and 69 deletions.
3 changes: 0 additions & 3 deletions cert/ccd/default/abayer

This file was deleted.

3 changes: 0 additions & 3 deletions cert/ccd/default/aheritier

This file was deleted.

2 changes: 1 addition & 1 deletion cert/ccd/default/alecharp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.29 255.255.254.0
ifconfig-push 10.8.0.29 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
2 changes: 1 addition & 1 deletion cert/ccd/default/basil
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.25 255.255.254.0
ifconfig-push 10.8.0.25 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
2 changes: 1 addition & 1 deletion cert/ccd/default/danielbeck
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.4 255.255.254.0
ifconfig-push 10.8.0.4 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
2 changes: 1 addition & 1 deletion cert/ccd/default/dduportal
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.5 255.255.254.0
ifconfig-push 10.8.0.5 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
2 changes: 1 addition & 1 deletion cert/ccd/default/dnusbaum
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.28 255.255.254.0
ifconfig-push 10.8.0.28 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
3 changes: 0 additions & 3 deletions cert/ccd/default/garethjevans

This file was deleted.

2 changes: 1 addition & 1 deletion cert/ccd/default/halkeye
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.7 255.255.254.0
ifconfig-push 10.8.0.7 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
2 changes: 1 addition & 1 deletion cert/ccd/default/hlemeur
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.8 255.255.254.0
ifconfig-push 10.8.0.8 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
2 changes: 1 addition & 1 deletion cert/ccd/default/imontero
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.23 255.255.254.0
ifconfig-push 10.8.0.23 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
3 changes: 0 additions & 3 deletions cert/ccd/default/jequals5

This file was deleted.

3 changes: 0 additions & 3 deletions cert/ccd/default/jthompson

This file was deleted.

3 changes: 0 additions & 3 deletions cert/ccd/default/jvz

This file was deleted.

2 changes: 1 addition & 1 deletion cert/ccd/default/kevingrdj
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.12 255.255.254.0
ifconfig-push 10.8.0.12 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
2 changes: 1 addition & 1 deletion cert/ccd/default/markewaite
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.13 255.255.254.0
ifconfig-push 10.8.0.13 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
3 changes: 0 additions & 3 deletions cert/ccd/default/mpapo

This file was deleted.

2 changes: 1 addition & 1 deletion cert/ccd/default/notmyfault
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.24 255.255.254.0
ifconfig-push 10.8.0.24 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
3 changes: 0 additions & 3 deletions cert/ccd/default/olblak

This file was deleted.

3 changes: 0 additions & 3 deletions cert/ccd/default/oleg_nenashev

This file was deleted.

3 changes: 0 additions & 3 deletions cert/ccd/default/olivergondza

This file was deleted.

2 changes: 1 addition & 1 deletion cert/ccd/default/slide_o_mix
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.18 255.255.254.0
ifconfig-push 10.8.0.18 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
2 changes: 1 addition & 1 deletion cert/ccd/default/smerle
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.19 255.255.254.0
ifconfig-push 10.8.0.19 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
2 changes: 1 addition & 1 deletion cert/ccd/default/smerleCB
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.30 255.255.254.0
ifconfig-push 10.8.0.30 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
2 changes: 1 addition & 1 deletion cert/ccd/default/timja
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.20 255.255.254.0
ifconfig-push 10.8.0.20 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
2 changes: 1 addition & 1 deletion cert/ccd/default/vlatombe
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.26 255.255.254.0
ifconfig-push 10.8.0.26 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
3 changes: 0 additions & 3 deletions cert/ccd/default/vsilverman

This file was deleted.

2 changes: 1 addition & 1 deletion cert/ccd/default/wfollonier
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.22 255.255.254.0
ifconfig-push 10.8.0.22 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
2 changes: 1 addition & 1 deletion cert/ccd/default/yafenkin
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifconfig-push 10.8.0.27 255.255.254.0
ifconfig-push 10.8.0.27 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.240.0.0 255.252.0.0"
16 changes: 2 additions & 14 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,11 @@
#
networks:
- name: default
iprange: 10.8.0.1/24
netmask: 255.255.254.0
routes:
# prod-jenkins-public-prod/data-tier
- 10.0.2.0/24
# prod-jenkins-private-prod-vnet
- 10.240.0.0/14
- name: admin
iprange: 10.8.1.1/24
netmask: 255.255.254.0
iprange: 10.8.0.0/24
netmask: 255.255.255.0
routes:
# prod-jenkins-public-prod/app-tier
- 10.0.1.0/24
# prod-jenkins-public-prod/data-tier
- 10.0.2.0/24
# prod-jenkins-public-prod/dmz-tier
- 10.0.99.0/24
# prod-jenkins-private-prod-vnet
- 10.240.0.0/14
- name: private
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
- "AUTH_LDAP_GROUPS_MEMBER=cn=all"
- "OPENVPN_NETWORK_NAME=mocked-vnet"
- "OPENVPN_SERVER_SUBNET=10.8.0.0"
- "OPENVPN_SERVER_NETMASK=255.255.254.0"
- "OPENVPN_SERVER_NETMASK=255.255.255.0"
volumes:
- ./mock/vpn/ccd:/home/openvpn/available-ccds:ro
- ./mock/vpn/ca.crt:/etc/openvpn/server/ca.crt:ro
Expand Down
2 changes: 1 addition & 1 deletion docker/mock/vpn/ccd/alice
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ifconfig-push 10.8.0.66 255.255.255.0
push "route 10.0.1.0 255.255.255.0"
push "route 10.0.2.0 255.255.255.0"
3 changes: 1 addition & 2 deletions docker/mock/vpn/ccd/kohsuke
Original file line number Diff line number Diff line change
@@ -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.1.3 255.255.255.0
push "route 10.0.2.0 255.255.255.0"
push "route 10.0.99.0 255.255.255.0"

0 comments on commit 1e001ef

Please sign in to comment.