Proxmox und pfSense auf einem Server mit einer einzigen IP-Adresse betreiben
Proxmox: /etc/network/interfaces
auto lo iface lo inet loopback auto enp0s25 iface enp0s25 inet static address x.x.x.x/yy gateway x.x.x.zzz post-up echo 1 > /proc/sys/net/ipv4/ip_forward post-up iptables -t nat -A PREROUTING -i enp0s25 -p tcp -m multiport ! --dport 22,8006 -j DNAT --to 10.10.10.2 post-up iptables -t nat -A PREROUTING -i enp0s25 -p udp -j DNAT --to 10.10.10.2 # Externes Interface (einzige vorhandene IP-Adresse nach außen) auto vmbr0 iface vmbr0 inet manual bridge-ports none bridge-stp off bridge-fd 0 auto vmbr1 iface vmbr1 inet static address 10.10.10.1/30 bridge-ports none bridge-stp off bridge-fd 0 post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/30' -o enp0s25 -j MASQUERADE post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/30' -o enp0s25 -j MASQUERADE # WAN-Interface für die pfSense-Firewall muss dann die 10.10.10.2/30 sein auto vmbr2 iface vmbr2 inet static address 192.168.128.0/24 bridge-ports none bridge-stp off bridge-fd 0 # LAN-Netzwerk für die pfSense-Firewall
pfSense dauerhaft auf deutsche Tastatur umstellen
in der pfSense-Shell:
cat >> /root/.profile << 'EOF' /usr/sbin/kbdcontrol -l /usr/share/syscons/keymaps/german.iso.kbd EOF