Skip to content

Ramtiiin/install-warp-plus-openwrt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Install warp-plus on OpenWrt

فارسی

⚠️ 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

Install PassWall2 on OpenWrt

Read more about Install PassWall2 on OpenWrt router.

2. Install warp-plus

SSH into the Router

  1. Open your terminal (or SSH client) and connect to the router:

  2. Update the package list:

    opkg update
    
  3. Install OpenSSH SFTP Server:

    opkg install openssh-sftp-server
    
  4. Download WARP PLUS based on your Router's CPU Architecture

    Extract the file and RENAME the binary file to > warp

  5. Transfer the file to the Router > /usr/bin (with tools like WinSCP, VSCode, ...)

  6. Make it executable in OpenWrt:

    chmod +x /usr/bin/warp
  7. Create System Service file for WARP:

    vi /etc/init.d/warp
    

Switch to Insert mode (Press i) & Paste this text block:

 #!/bin/sh /etc/rc.common

START=91

USE_PROCD=1

PROG=/usr/bin/warp

start_service() {
args=""
args="$args -b 127.0.0.1:9090 --scan"
procd_open_instance
procd_set_param command $PROG $args
procd_set_param stdout 1
procd_set_param stderr 1
procd_set_param respawn
procd_close_instance
}

Save & exit the editor (Esc > :x)

  1. Change the permissions of the Service file:

     chmod 755 /etc/init.d/warp
    
  2. Enable & Start service and check the status:

     service warp enable
     service warp start
     service warp status
  3. Go to Luci-app (OpenWrt web) > Passwall2 and create a sockes config to:

    127.0.0.1:9090

    and Enable Main switch & Socks Config

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published