Skip to content

Ramtiiin/install-passwall2-openwrt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Install PassWall2 on OpenWrt router

فارسی

⚠️ This configuration has been tested on a Google WiFi Router running OpenWrt version OpenWrt 23.05.2 r23630-842932a63d stable. Ensure that your router has at least 128MB of storage before executing these commands. ⚠️

1. Initial Settings

Configuring IP Address, WiFi, and Password

Read more about OpenWrt initial settings.

2. Install Passwall

SSH into the Router

  1. Open your terminal (or SSH client) and connect to the router:
  2. Update the package list:
    opkg update
    
  3. Remove the default dnsmasq and install dnsmasq-full:
    opkg remove dnsmasq
    opkg install dnsmasq-full
    
  4. Install required kernel modules:
    opkg install kmod-nft-tproxy kmod-nft-socket
    
  5. 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
    
  6. 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
  1. Update the package list again to include Passwall feeds:
    opkg update
    
  2. Install luci-app-passwall2 and v2ray-geosite-ir:
    opkg install luci-app-passwall2 v2ray-geosite-ir
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published