please post your currentI still have the same problem, maybe someone else has an idea?
/etc/network/interfaces
and the VM configuration qm config VMID
192.168.1.0/24
instead of 10.10.10.0
, but it should also work normally with the IP range you chose.ip link
command)auto lo
iface lo inet loopback
auto enp35s0
iface enp35s0 inet static
address my.public.ip.here/26
gateway my.gateway.ip.here
auto vmbr0
iface vmbr0 inet static
address 192.168.1.1/24
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 '192.168.1.0/24' -o enp35s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.1.0/24' -o enp35s0 -j MASQUERADE
# for containers
post-up iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1
change the enp35s0 here with your network interface name...post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '192.168.1.0/24' -o enp35s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.1.0/24' -o enp35s0 -j MASQUERADE
# for containers
and remove these duplicate entries (same as above)# The primary network interface
iface eth0 inet static
address 85.93.89.20
netmask 255.255.255.0
broadcast 85.93.89.255
network 192.168.10.0
gateway 85.93.89.1
great! please mark the thread prefix as [SOLVED] by editing the thread (top right Edit Thread -> Title -> prefix)very cool it works thanks to your help thank you thank you thank you thank you you are the best