Skip to content

Instantly share code, notes, and snippets.

View tongduychuong's full-sized avatar

tongduychuong

View GitHub Profile
@tongduychuong
tongduychuong / install_openwrt_proxmox.sh
Last active September 20, 2025 03:46 — forked from jaminmc/install_openwrt_proxmox.sh
Install OpenWrt in a Container on Proxmox 8+!
#!/bin/bash
# Script to create an OpenWrt LXC container in Proxmox
# Downloads from openwrt.org with latest stable or snapshot version, detects bridges/devices, IDs, configures network, sets optional password
# Pre-configures WAN/LAN in UCI, includes summary and confirmation, optional LuCI install for snapshots with apk
# Default resource values
DEFAULT_MEMORY="1024" # MB
DEFAULT_CORES="2" # CPU cores
DEFAULT_STORAGE="1" # GB