stellar-lab-kvm-pfsense-debian
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
stellar-lab-kvm-pfsense-debian [2017/09/03 15:35] – angelegt benny | stellar-lab-kvm-pfsense-debian [2024/06/09 10:29] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 307: | Zeile 307: | ||
===== DHCP Konfiguration (isc-dhcp-server) ===== | ===== DHCP Konfiguration (isc-dhcp-server) ===== | ||
Debian Stretch | Debian Stretch | ||
+ | |||
+ | * Wichtig ist hier die Option 138 (ovwma) für OmniVista im Stellar AP Netzwerk (Vlan 10) | ||
+ | * Der DHCP soll nur im Vlan 2 lauschen, da wir den DHCP Helper im OS6450 verwenden wollen | ||
< | < | ||
Zeile 451: | Zeile 454: | ||
</ | </ | ||
+ | ===== DNS Konfiguration (bind9) ===== | ||
+ | Debian Stretch | ||
+ | |||
+ | * Wichtig ist den lokalen Netzwerken zu erlauben den DNS auch nutzen zu dürfen | ||
+ | |||
+ | < | ||
+ | $ cat named.conf | ||
+ | // This is the primary configuration file for the BIND DNS server named. | ||
+ | // | ||
+ | // Please read / | ||
+ | // structure of BIND configuration files in Debian, *BEFORE* you customize | ||
+ | // this configuration file. | ||
+ | // | ||
+ | // If you are just adding zones, please do that in / | ||
+ | |||
+ | |||
+ | acl lan { | ||
+ | 127.0.0.1; | ||
+ | 192.168.2.0/ | ||
+ | 192.168.10.0/ | ||
+ | 192.168.11.0/ | ||
+ | 192.168.12.0/ | ||
+ | 192.168.13.0/ | ||
+ | 192.168.14.0/ | ||
+ | 192.168.15.0/ | ||
+ | }; | ||
+ | |||
+ | include "/ | ||
+ | include "/ | ||
+ | include "/ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ cat named.conf.options | ||
+ | options { | ||
+ | directory "/ | ||
+ | |||
+ | // If there is a firewall between you and nameservers you want | ||
+ | // to talk to, you may need to fix the firewall to allow multiple | ||
+ | // ports to talk. See http:// | ||
+ | |||
+ | // If your ISP provided one or more IP addresses for stable | ||
+ | // nameservers, | ||
+ | // Uncomment the following block, and insert the addresses replacing | ||
+ | // the all-0' | ||
+ | |||
+ | // | ||
+ | // | ||
+ | //}; | ||
+ | |||
+ | allow-query { lan; }; | ||
+ | allow-query-cache { lan; }; | ||
+ | |||
+ | // | ||
+ | // If BIND logs error messages about the root key being expired, | ||
+ | // you will need to update your keys. See https:// | ||
+ | // | ||
+ | dnssec-validation auto; | ||
+ | |||
+ | auth-nxdomain no; # conform to RFC1035 | ||
+ | listen-on-v6 { any; }; | ||
+ | }; | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ cat named.conf.local | ||
+ | // | ||
+ | // Do any local configuration here | ||
+ | // | ||
+ | |||
+ | // Consider adding the 1918 zones here, if they are not used in your | ||
+ | // organization | ||
+ | //include "/ | ||
+ | |||
+ | zone " | ||
+ | type master; | ||
+ | file "/ | ||
+ | }; | ||
+ | |||
+ | zone " | ||
+ | type master; | ||
+ | file "/ | ||
+ | }; | ||
+ | |||
+ | zone " | ||
+ | type master; | ||
+ | file "/ | ||
+ | }; | ||
+ | |||
+ | zone " | ||
+ | type master; | ||
+ | file "/ | ||
+ | }; | ||
+ | |||
+ | zone " | ||
+ | type master; | ||
+ | file "/ | ||
+ | }; | ||
+ | |||
+ | zone " | ||
+ | type master; | ||
+ | file "/ | ||
+ | }; | ||
+ | |||
+ | zone " | ||
+ | type master; | ||
+ | file "/ | ||
+ | }; | ||
+ | |||
+ | zone " | ||
+ | type master; | ||
+ | file "/ | ||
+ | }; | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ cat db.home | ||
+ | ; | ||
+ | $TTL 86400 | ||
+ | ; | ||
+ | @ IN SOA shiva.home. shiva.home. ( | ||
+ | 7 ; Serial | ||
+ | 604800 ; Refresh | ||
+ | 86400 ; Retry | ||
+ | 2419200 ; | ||
+ | 86400 ) ; Negative Cache TTL | ||
+ | ; | ||
+ | @ IN NS shiva.home. | ||
+ | IN A 192.168.2.1 | ||
+ | |||
+ | shiva IN A 192.168.2.1 | ||
+ | os6450 IN A 192.168.2.10 | ||
+ | omnivista IN A 192.168.2.15 | ||
+ | upam IN A 192.168.2.16 | ||
+ | fwinet IN A 192.168.2.254 | ||
+ | |||
+ | ap-d060 IN A 192.168.10.10 | ||
+ | ; | ||
+ | iphone IN A 192.168.11.100 | ||
+ | ipad IN A 192.168.11.101 | ||
+ | mbp IN A 192.168.11.102 | ||
+ | |||
+ | ; | ||
+ | ; | ||
+ | ; | ||
+ | rap3 IN A 192.168.14.100 | ||
+ | ; | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ cat db.2.168.192 | ||
+ | ; | ||
+ | $TTL 604800 | ||
+ | ; | ||
+ | @ IN SOA shiva.home. shiva.home. ( | ||
+ | 4 ; Serial | ||
+ | 604800 ; Refresh | ||
+ | 86400 ; Retry | ||
+ | 2419200 ; | ||
+ | 604800 ) ; Negative Cache TTL | ||
+ | ; | ||
+ | @ IN NS shiva.home. | ||
+ | ; | ||
+ | 1 IN PTR shiva.home. | ||
+ | 10 IN PTR os6450.home. | ||
+ | 15 IN PTR omnivista.home. | ||
+ | 16 IN PTR upam.home. | ||
+ | 254 IN PTR fwinet.home. | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ cat db.10.168.192 | ||
+ | ; | ||
+ | $TTL 604800 | ||
+ | ; | ||
+ | @ IN SOA shiva.home. shiva.home. ( | ||
+ | 5 ; Serial | ||
+ | 604800 ; Refresh | ||
+ | 86400 ; Retry | ||
+ | 2419200 ; | ||
+ | 604800 ) ; Negative Cache TTL | ||
+ | ; | ||
+ | @ IN NS shiva.home. | ||
+ | ; | ||
+ | ; | ||
+ | 10 IN PTR ap-d060.home. | ||
+ | 254 IN PTR os6450.home. | ||
+ | </ | ||
+ | |||
+ | ===== pfSense Screenshots ===== | ||
+ | |||
+ | ==== virtIO: Checksum Offloading ausschalten ==== | ||
+ | Bei virtIO NICs bitte Checksum Offloading ausschalten. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ==== LAN Gateway einrichten ==== | ||
+ | Dieses brauchen wir für lokale Netze | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ==== Statische Routen einrichten ==== | ||
+ | Hierfür verwenden wir das eben eingerichtete Gateway | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ==== Outbound-NAT kontrollieren ==== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ==== Firewall-Regeln ausgehend für die lokalen LAN Netze anlegen ==== | ||
+ | Da ich nicht weiß wie man den Alias "LAN Net" ändert, legen wir eigene Regeln an die unseren Traffic durchlassen. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ==== Ansicht des Dashboards ==== | ||
+ | |||
+ | {{ : |
stellar-lab-kvm-pfsense-debian.1504452917.txt.gz · Zuletzt geändert: 2024/06/09 10:29 (Externe Bearbeitung)