# openwrt

version: 24.10.0

# install

# config

openwrt_network

my switch ip is 192.168.1.1

# expand


opkg install cfdisk fdisk


cfdisk /dev/mmcblk0

openwrt_cfdisk_start

new > primary > write > yes > quit

openwrt_cfdisk_end


fdisk -l

openwrt_fdisk


mkfs.ext4 /dev/mmcblk0p3

if your OS is from official, you can not find mount points select in system


opkg install block-mount

installed and reboot, you will find mount points

select your create disk and click edit

openwrt_mount

selected Enabled

selected Use as root filesystem

save & apply

openwrt_mount_set


mkdir -p /tmp/introot
mkdir -p /tmp/extroot
mount --bind / /tmp/introot
mount /dev/mmcblk0p3 /tmp/extroot # my path is /dev/mmcblk0p3
tar -C /tmp/introot -cvf - . | tar -C /tmp/extroot -xf -
umount /tmp/introot
umount /tmp/extroot

reboot

# v2ray


opkg install v2raya luci-app-v2raya v2ray-geoip v2ray-geosite

reboot

services > v2rayA click Open Web Interface

create your username and password

open setting

openwrt_v2ray

take your phone and set a proxy

openwrt_proxy

# adguard


opkg install adguardhome

Status > System Log search adguardhome in logs

you will seen 80, 53 port bind fail, bind 3000. open it http://192.168.1.100:3000/

change web and dns port that you haven't used. as 3000 and 3053

Network > DHCP and DNS > Forwards DNS Forwards add value 192.168.1.100#3053

save & apply

# other

Firmware downloads (opens new window)

v2raya document (opens new window)

github AdGuardHome (opens new window)