---
proxmox shell
wget -O - https://downloads.openwrt.org/releases/23.05.4/targets/x86/64/openwrt-23.05.4-x86-64-generic-ext4-combined.img.gz | gunzip -c > openwrt.raw
qemu-img resize -f raw openwrt.raw 512M
mkdir /var/lib/vz/images/770
qemu-img convert -f raw -O qcow2 openwrt.raw /var/lib/vz/images/770/vm-770-disk-0.qcow2
chmod 540 /var/lib/vz/images/770/vm-770-disk-0.qcow2
qm create 770 --name OpenWrt --ostype l26 --cpu host --sockets 1 -cores 1 --memory 1024 --net0 virtio,bridge=vmbr1 --net1 virtio,bridge=vmbr0 --onboot yes --virtio0 local:770/vm-770-disk-0.qcow2
qm start 770
---
OpenWrt console
passwd
uci set firewall.@zone[1].input='ACCEPT'
uci commit
service firewall reload
ip a