Proxmox Hardware hinzufügen und ändern Aufgabe
Maschine erstellen
- Name:fw
- Aus dem debian-template (full-clone)
- Ort ist pmx2
- Speicherort
- fs2-prod
VM Konfiguration
| Name | fw.lab.int |
|---|---|
| IP | 10.0.10.99/24 |
| Gateway | 10.0.10.1 |
| Nameserver | 8.8.8.8 |
| Zu installierende Pakete | isc-dhcp-server |
Firewall
- echo net.ipv4.ip_forward=1 >> /etc/sysctl.conf
- sysctl -p
- vim etc/nftables.conf
#!/usr/sbin/nft -f
flush ruleset
define wandev=ens18
table inet nat {
chain postrouting {
type nat hook postrouting priority 100; policy accept;
oif $wandev masquerade
}
}