diff --git a/Doc interne/Notes de développement.docx b/Doc interne/Notes de développement.docx index 710a38d..9d9b9d1 100644 Binary files a/Doc interne/Notes de développement.docx and b/Doc interne/Notes de développement.docx differ diff --git a/OpenVPN/server.conf b/OpenVPN/server.conf index 65d8485..1b70637 100644 --- a/OpenVPN/server.conf +++ b/OpenVPN/server.conf @@ -140,6 +140,7 @@ ifconfig-pool-persist /var/log/openvpn/ipp.txt # address pool (10.8.0.0/255.255.255.0) # back to the OpenVPN server. push "route 192.168.10.0 255.255.255.0" +push "route 192.168.11.0 255.255.255.0" ;push "route 192.168.30.0 255.255.255.0" # To assign specific IP addresses to specific @@ -156,6 +157,7 @@ push "route 192.168.10.0 255.255.255.0" client-config-dir ccd ;route 192.168.40.128 255.255.255.248 route 192.168.10.0 255.255.255.0 +route 192.168.11.0 255.255.255.0 # Then create a file ccd/Thelonious with this line: # iroute 192.168.40.128 255.255.255.248 diff --git a/OpenVPN/stationKA2401.ovpn b/OpenVPN/stationKA2401.ovpn new file mode 100644 index 0000000..532a4ef --- /dev/null +++ b/OpenVPN/stationKA2401.ovpn @@ -0,0 +1,268 @@ +############################################## +# Sample client-side OpenVPN 2.0 config file # +# for connecting to multi-client server. # +# # +# This configuration can be used by multiple # +# clients, however each client should have # +# its own cert and key files. # +# # +# On Windows, you might want to rename this # +# file so it has a .ovpn extension # +############################################## + +# Specify that we are a client and that we +# will be pulling certain config file directives +# from the server. +client + +# Use the same setting as you are using on +# the server. +# On most systems, the VPN will not function +# unless you partially or fully disable +# the firewall for the TUN/TAP interface. +;dev tap +dev tun + +# Windows needs the TAP-Win32 adapter name +# from the Network Connections panel +# if you have more than one. On XP SP2, +# you may need to disable the firewall +# for the TAP adapter. +;dev-node MyTap + +# Are we connecting to a TCP or +# UDP server? Use the same setting as +# on the server. +;proto tcp +proto udp + +# The hostname/IP and port of the server. +# You can have multiple remote entries +# to load balance between the servers. +remote 138.197.151.172 1194 +;remote my-server-2 1194 + +# Choose a random host from the remote +# list for load-balancing. Otherwise +# try hosts in the order specified. +;remote-random + +# Keep trying indefinitely to resolve the +# host name of the OpenVPN server. Very useful +# on machines which are not permanently connected +# to the internet such as laptops. +resolv-retry infinite + +# Most clients don't need to bind to +# a specific local port number. +nobind + +# Downgrade privileges after initialization (non-Windows only) +;user nobody +;group nobody + +# Try to preserve some state across restarts. +persist-key +persist-tun + +# If you are connecting through an +# HTTP proxy to reach the actual OpenVPN +# server, put the proxy server/IP and +# port number here. See the man page +# if your proxy server requires +# authentication. +;http-proxy-retry # retry on connection failures +;http-proxy [proxy server] [proxy port #] + +# Wireless networks often produce a lot +# of duplicate packets. Set this flag +# to silence duplicate packet warnings. +;mute-replay-warnings + +# SSL/TLS parms. +# See the server config file for more +# description. It's best to use +# a separate .crt/.key file pair +# for each client. A single ca +# file can be used for all clients. +;ca ca.crt +;cert client.crt +;key client.key + +# Verify server certificate by checking that the +# certificate has the correct key usage set. +# This is an important precaution to protect against +# a potential attack discussed here: +# http://openvpn.net/howto.html#mitm +# +# To use this feature, you will need to generate +# your server certificates with the keyUsage set to +# digitalSignature, keyEncipherment +# and the extendedKeyUsage to +# serverAuth +# EasyRSA can do this for you. +remote-cert-tls server + +# If a tls-auth key is used on the server +# then every client must also have the key. +;tls-auth ta.key 1 + +# Select a cryptographic cipher. +# If the cipher option is used on the server +# then you must also specify it here. +# Note that v2.4 client/server will automatically +# negotiate AES-256-GCM in TLS mode. +# See also the data-ciphers option in the manpage +cipher AES-256-GCM +auth SHA256 + +# Enable compression on the VPN link. +# Don't enable this unless it is also +# enabled in the server config file. +#comp-lzo + +# Set log file verbosity. +verb 3 + +# Silence repeating messages +;mute 20 + +key-direction 1 + + +; script-security 2 +; up /etc/openvpn/update-resolv-conf +; down /etc/openvpn/update-resolv-conf + + +; script-security 2 +; up /etc/openvpn/update-systemd-resolved +; down /etc/openvpn/update-systemd-resolved +; down-pre +; dhcp-option DOMAIN-ROUTE . + +-----BEGIN CERTIFICATE----- +MIIDRTCCAi2gAwIBAgIUXe37kz2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zifCl+AV +LzBrLwt2OeoEI1h65EyzzE7gDsjrE3JR/Q== +-----END CERTIFICATE----- + + +Certificate: + Data: + Version: 3 (0x2) + Serial Number: + 78:5e:57:99:93:be:f2:47:da:cc:6c:8e:0d:71:3d:f8 + Signature Algorithm: sha256WithRSAEncryption + Issuer: CN=JF_server + Validity + Not Before: May 5 13:33:22 2024 GMT + Not After : Aug 8 13:33:22 2026 GMT + Subject: CN=stationKA2401 + Subject Public Key Info: + Public Key Algorithm: id-ecPublicKey + Public-Key: (384 bit) + pub: + 04:8f:4f:26:6b:af:cb:49:0b:74:3e:65:aa:0e:9a: + 9a:57:99:b1:f6:bf:dc:74:ae:d6:72:ed:d3:a8:04: + 2f:a8:a0:43:63:f6:c8:e2:cd:dc:d8:fd:bf:69:93: + 09:d7:bd:11:ab:d9:c5:ae:20:bc:00:ac:d7:ad:ea: + fb:c0:1e:44:6f:ba:20:63:9d:32:f7:38:8f:c0:d7: + bf:b4:23:15:16:4d:84:59:13:d5:4b:de:9e:7b:46: + d3:ce:ba:5d:d9:53:c4 + ASN1 OID: secp384r1 + NIST CURVE: P-384 + X509v3 extensions: + X509v3 Basic Constraints: + CA:FALSE + X509v3 Subject Key Identifier: + 68:18:F5:54:75:30:27:4D:B5:96:D3:34:8E:1C:3B:58:1E:BC:1B:78 + X509v3 Authority Key Identifier: + keyid:8A:78:90:E5:F0:50:E7:8C:75:E4:B8:C0:A1:E8:E9:9B:B2:1A:9D:32 + DirName:/CN=JF_server + serial:5D:ED:FB:93:3D:B2:AA:0C:8B:DB:15:DF:BD:A1:91:CE:5C:FB:CB:06 + X509v3 Extended Key Usage: + TLS Web Client Authentication + X509v3 Key Usage: + Digital Signature + Signature Algorithm: sha256WithRSAEncryption + Signature Value: + 67:97:34:79:07:29:c3:cd:a6:7c:86:82:aa:94:0b:ca:69:ef: + 79:5e:a6:35:97:c3:31:07:9f:cd:aa:89:95:e3:b1:26:4b:e9: + 88:50:1f:3e:10:eb:d2:82:c5:6e:56:18:1e:ff:72:60:c1:de: + 11:af:b8:e6:b6:bb:de:7d:52:f5:ba:1b:9b:4e:49:b2:05:25: + 0a:e9:8a:f8:85:f7:0e:c8:db:fd:c4:b9:e9:a9:6f:85:0a:cb: + 63:a3:d0:a7:77:e0:7f:ff:34:29:90:80:66:a7:8d:80:6a:bf: + 23:74:80:77:ad:53:2d:5e:f6:02:d1:05:3f:9f:fa:17:11:8f: + 7f:b4:a5:44:74:2b:57:1e:4b:7e:29:c8:95:48:a6:3a:fc:ae: + 82:c2:7b:b2:26:4f:92:d5:af:73:71:30:8e:b6:b9:6a:f2:b0: + 00:df:44:a2:3f:cd:4a:45:7e:ed:43:4b:d4:0e:07:25:94:37: + e0:5d:8d:0b:1b:fb:76:07:d0:41:da:c9:f3:19:fa:28:8b:46: + df:5a:19:82:ee:1e:e0:1a:be:39:c1:a9:65:b1:02:92:32:96: + 2c:7e:3f:4e:ce:9e:b0:66:57:b4:74:2c:98:de:13:da:b2:27: + e5:7a:5b:30:df:3e:46:1b:6c:92:53:6f:c6:0e:88:6f:0d:ae: + 89:ca:ea:ea +-----BEGIN CERTIFICATE----- +MIICqTCCAZGgAwIBAgIQeF5XmZO+8kfazGyODXE9+DANBgkqhkiG9w0BAQsFADAU +MRIwEAYDVQQDDAlKRl9zZXJ2ZXIwHhcNMjQwNTA1MTMzMzIyWhcNMjYwODA4MTMz +MzIyWjAYMRYwFAYDVQQDDA1zdGF0aW9uS0EyNDAxMHYwEAYHKoZIzj0CAQYFK4EE +ACIDYgAEj08ma6/LSQt0PmWqDpqaV5mx9r/cdK7Wcu3TqAQvqKBDY/bI4s3c2P2/ +aZMJ170Rq9nFriC8AKzXrer7wB5Eb7ogY50y9ziPwNe/tCMVFk2EWRPVS96ee0bT +zrpd2VPEo4GgMIGdMAkGA1UdEwQCMAAwHQYDVR0OBBYEFGgY9VR1MCdNtZbTNI4c +O1gevBt4ME8GA1UdIwRIMEaAFIp4kOXwUOeMdeS4wKHo6ZuyGp0yoRikFjAUMRIw +EAYDVQQDDAlKRl9zZXJ2ZXKCFF3t+5M9sqoMi9sV372hkc5c+8sGMBMGA1UdJQQM +MAoGCCsGAQUFBwMCMAsGA1UdDwQEAwIHgDANBgkqhkiG9w0BAQsFAAOCAQEAZ5c0 +eQcpw82mfIaCqpQLymnveV6mNZfDMQefzaqJleOxJkvpiFAfPhDr0oLFblYYHv9y +YMHeEa+45ra73n1S9bobm05JsgUlCumK+IX3Dsjb/cS56alvhQrLY6PQp3fgf/80 +KZCAZqeNgGq/I3SAd61TLV72AtEFP5/6FxGPf7SlRHQrVx5LfinIlUimOvyugsJ7 +siZPktWvc3Ewjra5avKwAN9Eoj/NSkV+7UNL1A4HJZQ34F2NCxv7dgfQQdrJ8xn6 +KItG31oZgu4e4Bq+OcGpZbECkjKWLH4/Ts6esGZXtHQsmN4T2rIn5XpbMN8+Rhts +klNvxg6Ibw2uicrq6g== +-----END CERTIFICATE----- + + +-----BEGIN PRIVATE KEY----- +MIG2AgEAMBAGByqGSM49AgEGBSuBBAAiBIGeMIGbAgEBBDCqirzGpSX6ei53uFLm +GTcOHVuwJL0ut2FF+GghDE9CAc/up9n1u8xmfvI0/KEueYehZANiAASPTyZrr8tJ +C3Q+ZaoOmppXmbH2v9x0rtZy7dOoBC+ooENj9sjizdzY/b9pkwnXvRGr2cWuILwA +rNet6vvAHkRvuiBjnTL3OI/A17+0IxUWTYRZE9VL3p57RtPOul3ZU8Q= +-----END PRIVATE KEY----- + + +# +# 2048 bit OpenVPN static key +# +-----BEGIN OpenVPN Static key V1----- +4c828cbf0e58f927758e9471c1b6f03b +2e77b2c634bad76df0570dd8f47184d6 +3921e25c6e6cbe4af4b64aad89d12425 +a9fca69ae08802b5ed583632c26678b0 +cc28c481c3831d1b2204dc30cd466395 +ccb8cd82cd2259c956b510c9a56e842a +8693c44dca462f0ab7be3856abe9bbe1 +95a6ffd3b0237225b9497c7a0df05ad8 +2f2e0a8bff97c927d2890906d0105947 +fa3430fc779583772382534fb880add6 +8d5592fa4ff384d3e96c560019b5835f +095da9b2fb33dbfbc1ffce9560908271 +ee96e02ccecc9d51b9dda79a77704a1d +4407d7c805e6950854fe232adee02a12 +b09af2d9bfe04868a9e2e942dc64eb81 +9e062ab9f781e52d263195a58db72ebe +-----END OpenVPN Static key V1----- + diff --git a/Réseau/Station LAVAL/Backup Config Switch_20240505.tar.gz b/Réseau/Station LAVAL/Backup Config Switch_20240505.tar.gz new file mode 100644 index 0000000..6bdaa86 Binary files /dev/null and b/Réseau/Station LAVAL/Backup Config Switch_20240505.tar.gz differ diff --git a/Config Switch Fonctionnelle edgeos_ubnt_20230531.tar.gz b/Réseau/Station LAVAL/Config Switch Fonctionnelle edgeos_ubnt_20230531.tar.gz similarity index 100% rename from Config Switch Fonctionnelle edgeos_ubnt_20230531.tar.gz rename to Réseau/Station LAVAL/Config Switch Fonctionnelle edgeos_ubnt_20230531.tar.gz diff --git a/Config Switch edgeos_ubnt_20230317.tar.gz b/Réseau/Station LAVAL/Config Switch edgeos_ubnt_20230317.tar.gz similarity index 100% rename from Config Switch edgeos_ubnt_20230317.tar.gz rename to Réseau/Station LAVAL/Config Switch edgeos_ubnt_20230317.tar.gz