set_opkg_proxy.sh
export https_proxy=http://10.1.2.3:8080/
export http_proxy=http://10.1.2.3:8080/opkg_update.sh
opkg update
Check out similar posts by category:
OpenWRT
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow