Eu tenho um servidor dedicado hetzner, e eu instalei o proxmox. Eu tenho apenas um ip e preciso encaminhar o tráfego e as portas para as VMs. Eu segui o tutorial de rede proxmox sem sucesso: não consigo acessar da internet para vm e não consigo navegar na net com o vm. Aqui minha configuração de rede e log do kernel
### Hetzner Online GmbH installimage
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp2s0
iface enp2s0 inet static
address 1.2.3.4
netmask 255.255.255.224
gateway 2.3.4.5
up route add -net 1.2.3.4 netmask 255.255.255.224
iface enp2s0 inet6 static
address indirizzo ipv6
netmask 64
gateway fe80::1
auto vmbr2
iface vmbr2 inet static
address 10.10.10.254
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o enp2s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o enp2s0 -j MASQUERADE
dmesg:
[359074.849541] device tap100i0 entered promiscuous mode
[359074.855293] vmbr2: port 1(tap100i0) entered blocking state
[359074.855347] vmbr2: port 1(tap100i0) entered disabled state
[359074.855486] vmbr2: port 1(tap100i0) entered blocking state
[359074.855539] vmbr2: port 1(tap100i0) entered forwarding state
[359417.355699] vmbr2: port 1(tap100i0) entered disabled state
[359417.358959] vmbr2: port 1(tap100i0) entered disabled state
Obrigado