Cyber Security I. Netzplan: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→IPv4) |
|||
| Zeile 52: | Zeile 52: | ||
*cat /etc/resolv.conf | *cat /etc/resolv.conf | ||
nameserver 78.47.133.194 | nameserver 78.47.133.194 | ||
| − | search | + | search it34.xinmen.de |
;Netzwerk | ;Netzwerk | ||
*cat /etc/network/interfaces | *cat /etc/network/interfaces | ||
| Zeile 60: | Zeile 60: | ||
gateway 172.26.55.1 | gateway 172.26.55.1 | ||
;Hostnamen setzen | ;Hostnamen setzen | ||
| − | *hostnamectl set-hostname | + | *hostnamectl set-hostname www.it.xinmen.de |
;Lokale Hostnamensauflösung | ;Lokale Hostnamensauflösung | ||
*cat /etc/hosts | *cat /etc/hosts | ||
127.0.0.1 localhost.localdomain localhost | 127.0.0.1 localhost.localdomain localhost | ||
::1 localhost6.localdomain6 localhost6 | ::1 localhost6.localdomain6 localhost6 | ||
| − | ''' | + | '''127.0.0.1 www.xinmen.de www''' |
# The following lines are desirable for IPv6 capable hosts | # The following lines are desirable for IPv6 capable hosts | ||
::1 localhost ip6-localhost ip6-loopback | ::1 localhost ip6-localhost ip6-loopback | ||
| Zeile 72: | Zeile 72: | ||
ff02::2 ip6-allrouters | ff02::2 ip6-allrouters | ||
ff02::3 ip6-allhosts | ff02::3 ip6-allhosts | ||
| + | |||
=Portforwarding= | =Portforwarding= | ||
*192.168.12.34:9923 -> 172.26.55.2:22 | *192.168.12.34:9923 -> 172.26.55.2:22 | ||
*192.168.12.34:9924 -> 172.26.53.52:22 | *192.168.12.34:9924 -> 172.26.53.52:22 | ||
Version vom 22. August 2025, 13:44 Uhr
Übersicht
IPv4
- gateway 192.168.Y.254
- nameserver 78.47.133.194
- externe Domain labXX.linuggs.de
- interne Domain labXX.int
| Teilnehmer | Labor | Netz | Haupt-IP | Zweite-IP | CLIENTS | SERVER | DMZ |
|---|---|---|---|---|---|---|---|
| TN01 | lab00 | 172.26.0.0/22 | 192.168.Y.21 | 192.168.Y.41 | 172.26.1.0/24 | 172.26.2.0/24 | 172.26.3.0/24 |
| TN02 | lab04 | 172.26.4.0/22 | 192.168.Y.22 | 192.168.Y.42 | 172.26.5.0/24 | 172.26.6.0/24 | 172.26.7.0/24 |
| TN03 | lab08 | 172.26.8.0/22 | 192.168.Y.23 | 192.168.Y.43 | 172.26.9.0/24 | 172.26.10.0/24 | 172.26.11.0/24 |
| TN04 | lab0c | 172.26.12.0/22 | 192.168.Y.24 | 192.168.Y.44 | 172.26.13.0/24 | 172.26.14.0/24 | 172.26.15.0/24 |
| TN05 | lab10 | 172.26.16.0/22 | 192.168.Y.25 | 192.168.Y.45 | 172.26.17.0/24 | 172.26.18.0/24 | 172.26.19.0/24 |
| TN06 | lab14 | 172.26.20.0/22 | 192.168.Y.26 | 192.168.Y.46 | 172.26.21.0/24 | 172.26.22.0/24 | 172.26.23.0/24 |
| TN07 | lab18 | 172.26.24.0/22 | 192.168.Y.27 | 192.168.Y.47 | 172.26.25.0/24 | 172.26.26.0/24 | 172.26.27.0/24 |
| TN08 | lab1c | 172.26.28.0/22 | 192.168.Y.28 | 192.168.Y.48 | 172.26.29.0/24 | 172.26.30.0/24 | 172.26.31.0/24 |
| TN09 | lab20 | 172.26.32.0/22 | 192.168.Y.29 | 192.168.Y.49 | 172.26.33.0/24 | 172.26.34.0/24 | 172.26.35.0/24 |
| TN10 | lab24 | 172.26.36.0/22 | 192.168.Y.30 | 192.168.Y.50 | 172.26.37.0/24 | 172.26.38.0/24 | 172.26.39.0/24 |
| TN11 | lab28 | 172.26.40.0/22 | 192.168.Y.31 | 192.168.Y.51 | 172.26.41.0/24 | 172.26.42.0/24 | 172.26.43.0/24 |
| TN12 | lab2c | 172.26.44.0/22 | 192.168.Y.32 | 192.168.Y.52 | 172.26.45.0/24 | 172.26.46.0/24 | 172.26.47.0/24 |
| TN13 | lab30 | 172.26.48.0/22 | 192.168.Y.33 | 192.168.Y.53 | 172.26.49.0/24 | 172.26.50.0/24 | 172.26.51.0/24 |
| TN14 | lab34 | 172.26.52.0/22 | 192.168.Y.34 | 192.168.Y.54 | 172.26.53.0/24 | 172.26.54.0/24 | 172.26.55.0/24 |
Weiteres
- Offizielle Zertifikate
- drawio rpm runterladen und installieren
Netzplan
Wie passe ich einen Debian/Ubuntu Rechner an
- Resolver
- cat /etc/resolv.conf
nameserver 78.47.133.194 search it34.xinmen.de
- Netzwerk
- cat /etc/network/interfaces
auto enp0s3 iface enp0s3 inet static address 172.26.55.2/24 gateway 172.26.55.1
- Hostnamen setzen
- hostnamectl set-hostname www.it.xinmen.de
- Lokale Hostnamensauflösung
- cat /etc/hosts
127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 127.0.0.1 www.xinmen.de www # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
Portforwarding
- 192.168.12.34:9923 -> 172.26.55.2:22
- 192.168.12.34:9924 -> 172.26.53.52:22
