this is repository for all action in passwall2 service
.------------------------------------------------------------. | | | | | _____ _____ _____ _____ _ _ _ _____ __ __ ___ | | | _ | _ | __| __| | | | _ | | | | |_ | | | | __| |__ |__ | | | | | |__| |__ | _| | | |__| |__|__|_____|_____|_____|__|__|_____|_____| |___| | | | | | '------------------------------------------------------------'
- Install Dependencies
opkg install git git-http- Usage with this command
- Github:
sh <(wget -qO- https://raw.githubusercontent.com/saeedkefayati/openwrt-passwall2/main/install.sh)- Githack:
sh <(wget -qO- https://raw.githack.com/saeedkefayati/openwrt-passwall2/main/install.sh)- jsdelivr CDN:
sh <(wget -qO- https://cdn.jsdelivr.net/gh/saeedkefayati/openwrt-passwall2@main/install.sh)- statically CDN
sh <(wget -qO- https://cdn.statically.io/gh/saeedkefayati/openwrt-passwall2/main/install.sh)- Install Dependencies
cd /root wget -O passwall2.zip https://github.com/saeedkefayati/openwrt-passwall2/archive/refs/heads/main.zip opkg install unzip- Unzip Dependencies
unzip passwall2.zip && rm -rf passwall2.zip mv passwall2-main passwall2- Executable Dependencies
find ./passwall2 -type f -name "*.sh" -exec chmod +x {} \; cd passwall2 && ./main.sh- Add Shortcut Command (optional) - can use passwall2 command
echo '#!/bin/sh' > /usr/bin/passwall2 && echo 'cd /root/passwall2 && ./main.sh' >> /usr/bin/passwall2 && chmod +x /usr/bin/passwall2