Hi, thank you for your quick answer.
This is the Proxmox interfaces config:
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
iface enp2s0 inet static
address public ip
netmask 255.255.255.224
up route add -net public broadcast ip netmask 255.255.255.224 gw public ip dev enp2s0
# route X.X.X.X/27 via X.X.X.X
auto vmbr0
iface vmbr0 inet static
address public ip
netmask 255.255.255.0
gateway public gateway
bridge-ports enp2s0
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE
auto vmbr1
iface vmbr1 inet static
address 192.168.1.0
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
#inside LAN1
auto vmbr2
iface vmbr2 inet static
address 192.168.2.0
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up iptables -t nat -A POSTROUTING -s '192.168.2.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.2.0/24' -o vmbr0 -j MASQUERADE
#inside LAN2
auto vmbr3
iface vmbr3 inet static
address 192.168.3.0
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
#inside LAN3
auto vmbr4
iface vmbr4 inet static
address 192.168.4.0
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
#inside LAN4
auto vmbr200
iface vmbr200 inet static
address 192.168.200.0
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up iptables -t nat -A POSTROUTING -s '192.168.200.254/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.200.254/24' -o vmbr0 -j MASQUERAD
#wan VPN
The vm network is configured to vmbr1 and I configured the following static ip
Ip address 192.168.1.5
Netmask 255.255.255.0
Gw 192.168.1.1
I can’t ping the vm, for testing I disabled the firewall to the vm and also from Proxmox
The vm che reach vmbr gateway 192.168.1.1 and also internet