Hallo @all
ich wollte übers Wochenende mal etwas mit Proxmox VE experimentieren, scheitere aber schon an der Netzwerkkonfiguration. Nach einigem lesen diverser Anleitungen habe ich soweit verstanden, dass bei nur einer öffentlichen IP das ganze über NAT laufen muss. Nur leider funktioniert es bei mir irgendwie nicht
Ein Ping vom Container zur Host IP oder auch zur vmbr0 und umgekehrt gehen, aber kein Internet. Hat jemand eine Idee woran es liegen könnte ?
Meine bisherige Konfiguration:
Proxmox Firewall off
Code: Interfaces
auto lo
iface lo inet loopback
auto ens3
iface ens3 inet static
address <HOST-IP>
netmask 255.255.252.0
gateway <NETCUP-GW>
broadcast x .x.x.255
dns-nameservers 46.38.225.230, 46.38.252.230
dns-search <FQDN>
auto vmbr0
iface vmbr0 inet static
address 10.10.10.1
netmask 255.255.255.0
bridge-ports none
bridge-stp off
bridge-fd 0
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o ens3 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o ens3 -j MASQUERADE
Alles anzeigen
Code: iptables -nvL -t nat
Chain PREROUTING (policy ACCEPT 8062 packets, 468K bytes)
pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 7251 packets, 434K bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 554 packets, 34381 bytes)
pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 550 packets, 34045 bytes)
pkts bytes target prot opt in out source destination
1 84 MASQUERADE all -- * ens3 10.10.10.0/24 0.0.0.0/0
0 0 MASQUERADE all -- * vmbr0 192.168.0.0/24 0.0.0.0/0
Alles anzeigen