Read more about OpenWrt initial settings.
- Open your terminal (or SSH client) and connect to the router:
- Update the package list:
opkg update
- Remove the default dnsmasq and install dnsmasq-full:
opkg remove dnsmasq opkg install dnsmasq-full
- Install required kernel modules:
opkg install kmod-nft-tproxy kmod-nft-socket
- Download and add the Passwall public key:
wget -O passwall.pub https://master.dl.sourceforge.net/project/openwrt-passwall-build/passwall.pub opkg-key add passwall.pub
- Set up custom feeds for Passwall:
read release arch << EOF
$(. /etc/openwrt_release ; echo ${DISTRIB_RELEASE%.*} $DISTRIB_ARCH)
EOF
for feed in passwall_packages passwall2; do
echo "src/gz $feed https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-$release/$arch/$feed" >> /etc/opkg/customfeeds.conf
done
- Update the package list again to include Passwall feeds:
opkg update
- Install luci-app-passwall2 and v2ray-geosite-ir:
opkg install luci-app-passwall2 v2ray-geosite-ir