reorganisation

This commit is contained in:
phil 2023-01-19 00:03:47 +01:00
parent da5011466b
commit a508e7e65c
15 changed files with 226 additions and 0 deletions

12
old/s-graylog.yml Normal file
View File

@ -0,0 +1,12 @@
---
- hosts: localhost
connection: local
roles:
- base
- goss
- docker-graylog
- ssh-cli
- syslog
- post

14
wireguard/ping-agence.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/bash
ping -c3 172.16.128.254
ping -c3 192.168.1.2
ping -c3 192.168.1.1
ping -c3 192.168.200.253
ping -c3 192.168.200.254
ping -c3 172.16.0.254
ping -c3 172.16.0.1

14
wireguard/ping-rext.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
ping -c3 172.16.0.1
ping -c3 172.16.0.254
ping -c3 192.168.200.254
ping -c3 192.168.1.1
ping -c3 192.168.1.2
ping -c3 172.16.128.254
ping -c3 172.16.128.10

12
wireguard/ping-rint.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash
ping -c3 172.16.0.1
ping -c3 192.168.200.253
ping -c3 192.168.1.1
ping -c3 192.168.1.2
ping -c3 172.16.128.254
ping -c3 172.16.128.10

14
wireguard/ping-sinfra.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/bash
ping -c3 172.16.0.254
ping -c3 192.168.200.254
ping -c3 192.168.200.253
ping -c3 192.168.1.1
ping -c3 192.168.1.2
ping -c3 172.16.125.254
ping -c3 172.16.128.10

36
wireguard/r-ext/r-ext.ip Normal file
View File

@ -0,0 +1,36 @@
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:03:d3:28 brd ff:ff:ff:ff:ff:ff
inet 192.168.99.13/24 brd 192.168.99.255 scope global enp0s3
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe03:d328/64 scope link
valid_lft forever preferred_lft forever
3: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:63:40:ea brd ff:ff:ff:ff:ff:ff
inet 192.168.100.254/24 brd 192.168.100.255 scope global enp0s8
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe63:40ea/64 scope link
valid_lft forever preferred_lft forever
4: enp0s9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:4f:29:27 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.20/24 brd 192.168.0.255 scope global dynamic enp0s9
valid_lft 77233sec preferred_lft 77233sec
inet6 fe80::a00:27ff:fe4f:2927/64 scope link
valid_lft forever preferred_lft forever
5: enp0s10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:9d:16:f8 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.1/24 brd 192.168.1.255 scope global enp0s10
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe9d:16f8/64 scope link
valid_lft forever preferred_lft forever
6: enp0s16: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:07:c1:0f brd ff:ff:ff:ff:ff:ff
inet 192.168.200.253/24 brd 192.168.200.255 scope global enp0s16
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe07:c10f/64 scope link
valid_lft forever preferred_lft forever

View File

@ -0,0 +1,9 @@
default via 192.168.0.1 dev enp0s9
169.254.0.0/16 dev enp0s3 scope link metric 1000
172.16.0.0/24 via 192.168.200.254 dev enp0s16
172.16.128.0/24 via 192.168.1.2 dev enp0s10
192.168.0.0/24 dev enp0s9 proto kernel scope link src 192.168.0.20
192.168.1.0/24 dev enp0s10 proto kernel scope link src 192.168.1.1
192.168.99.0/24 dev enp0s3 proto kernel scope link src 192.168.99.13
192.168.100.0/24 dev enp0s8 proto kernel scope link src 192.168.100.254
192.168.200.0/24 dev enp0s16 proto kernel scope link src 192.168.200.253

36
wireguard/r-int/r-int.ip Normal file
View File

@ -0,0 +1,36 @@
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:c9:4e:0b brd ff:ff:ff:ff:ff:ff
inet 192.168.99.12/24 brd 192.168.99.255 scope global enp0s3
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fec9:4e0b/64 scope link
valid_lft forever preferred_lft forever
3: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:34:ef:8f brd ff:ff:ff:ff:ff:ff
inet 192.168.200.254/24 brd 192.168.200.255 scope global enp0s8
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe34:ef8f/64 scope link
valid_lft forever preferred_lft forever
4: enp0s9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:56:72:01 brd ff:ff:ff:ff:ff:ff
inet 172.16.65.254/24 brd 172.16.65.255 scope global enp0s9
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe56:7201/64 scope link
valid_lft forever preferred_lft forever
5: enp0s10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:7c:d7:5b brd ff:ff:ff:ff:ff:ff
inet 172.16.64.254/24 brd 172.16.64.255 scope global enp0s10
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe7c:d75b/64 scope link
valid_lft forever preferred_lft forever
6: enp0s16: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:e6:59:3d brd ff:ff:ff:ff:ff:ff
inet 172.16.0.254/24 brd 172.16.0.255 scope global enp0s16
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fee6:593d/64 scope link
valid_lft forever preferred_lft forever

View File

@ -0,0 +1,7 @@
default via 192.168.200.253 dev enp0s8 onlink
169.254.0.0/16 dev enp0s9 scope link metric 1000
172.16.0.0/24 dev enp0s16 proto kernel scope link src 172.16.0.254
172.16.64.0/24 dev enp0s10 proto kernel scope link src 172.16.64.254
172.16.65.0/24 dev enp0s9 proto kernel scope link src 172.16.65.254
192.168.99.0/24 dev enp0s3 proto kernel scope link src 192.168.99.12
192.168.200.0/24 dev enp0s8 proto kernel scope link src 192.168.200.254

20
wireguard/r-vp1/r-vp1.ip Normal file
View File

@ -0,0 +1,20 @@
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:53:62:8c brd ff:ff:ff:ff:ff:ff
inet 192.168.99.112/24 brd 192.168.99.255 scope global enp0s3
valid_lft forever preferred_lft forever
3: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:b0:5e:11 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.2/24 brd 192.168.1.255 scope global enp0s8
valid_lft forever preferred_lft forever
4: enp0s9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:28:10:4c brd ff:ff:ff:ff:ff:ff
inet 192.168.0.51/24 brd 192.168.0.255 scope global enp0s9
valid_lft forever preferred_lft forever
12: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000
link/none
inet 10.0.0.1/32 scope global wg0
valid_lft forever preferred_lft forever

View File

@ -0,0 +1,8 @@
10.0.0.2 dev wg0 scope link
169.254.0.0/16 dev enp0s3 scope link metric 1000
172.16.0.0/24 via 192.168.1.1 dev enp0s8
172.16.128.0/24 dev wg0 scope link
192.168.0.0/24 dev enp0s9 proto kernel scope link src 192.168.0.51
192.168.1.0/24 dev enp0s8 proto kernel scope link src 192.168.1.2
192.168.99.0/24 dev enp0s3 proto kernel scope link src 192.168.99.112
192.168.200.0/24 via 192.168.1.1 dev enp0s8

18
wireguard/r-vp2/r-vp2.ip Normal file
View File

@ -0,0 +1,18 @@
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 08:00:27:46:2b:0a brd ff:ff:ff:ff:ff:ff
3: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:99:b7:7f brd ff:ff:ff:ff:ff:ff
inet 172.16.128.254/24 brd 172.16.128.255 scope global enp0s8
valid_lft forever preferred_lft forever
4: enp0s9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:34:71:77 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.52/24 brd 192.168.0.255 scope global enp0s9
valid_lft forever preferred_lft forever
7: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000
link/none
inet 10.0.0.2/32 scope global wg0
valid_lft forever preferred_lft forever

View File

@ -0,0 +1,7 @@
10.0.0.1 dev wg0 scope link
169.254.0.0/16 dev enp0s9 scope link metric 1000
172.16.0.0/24 dev wg0 scope link
172.16.128.0/24 dev enp0s8 proto kernel scope link src 172.16.128.254
192.168.0.0/24 dev enp0s9 proto kernel scope link src 192.168.0.52
192.168.1.0/24 dev wg0 scope link
192.168.200.0/24 dev wg0 scope link

View File

@ -0,0 +1,12 @@
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:4a:25:54 brd ff:ff:ff:ff:ff:ff
inet 192.168.99.1/24 brd 192.168.99.255 scope global enp0s3
valid_lft forever preferred_lft forever
3: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:ee:b4:01 brd ff:ff:ff:ff:ff:ff
inet 172.16.0.1/24 brd 172.16.0.255 scope global enp0s8
valid_lft forever preferred_lft forever

View File

@ -0,0 +1,7 @@
default via 192.168.99.99 dev enp0s3 onlink
169.254.0.0/16 dev enp0s3 scope link metric 1000
172.16.0.0/24 dev enp0s8 proto kernel scope link src 172.16.0.1
172.16.64.0/24 via 172.16.0.254 dev enp0s8
172.16.128.0/24 via 172.16.0.254 dev enp0s8
192.168.0.0/16 via 172.16.0.254 dev enp0s8
192.168.99.0/24 dev enp0s3 proto kernel scope link src 192.168.99.1