Dateiansicht:
Datei: | Projekte -> Linux:Netzwerk für Seminare -> Router_Server -> root -> bin -> status_seminarnet |
---|---|
md5: | c18bb2ca55e77742f77888d1604242ec |
sha1: | 3f0530b7716e034ec9c40684e662385de53874a4 |
Download-Link: | Download |
- #!/bin/bash
- function printLine {
- printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' -;
- }
- clear;
- printLine;
- echo "DHCP-Server:";
- printLine
- systemctl status isc-dhcp-server
- printLine
- echo "DNS-Server:";
- printLine
- ps -C dnsproxy
- printLine
- echo "Firewall/Nat:";
- printLine
- iptables -L FORWARD
- printLine
- echo "Routen:";
- route