1.官网下载openwrt(Index of /releases/22.03.2/targets/x86/64/ (openwrt.org))
2.上传到pve的CT模板
3.在pve的shell输入代码,只能用代码方式
pct create 108 local:vztmpl/openwrt-22.03.2-x86-64-rootfs.tar.gz --rootfs local-lvm:1 --ostype unmanaged --hostname OpenWrt --arch amd64 --cores 2 --memory 512 --swap 0 --onboot yes -net0 bridge=vmbr0,name=eth0
代码参数参考以下文章:(245条消息) Proxmox VE 7.2 LXC 方式部署openwrt_CIAS的博客-CSDN博客_lxc安装openwrt
4.剩下就是openwrt那些改ip改密码的初始化