banner
miaoer

miaoer

喵二の小博客 https://www.miaoer.xyz xLog 分站
tg_channel
telegram
bilibili

OpenWrt Thunder God Accelerator Plugin Manager User Guide

openwrt-leigodacc-manager is a shell script-based OpenWrt Leigod Accelerator Manager developed by me.

This toolbox adds error detection and dependency installation based on the official script. It aims to supplement various inconveniences that the official script requires manual operation.

Today, I will teach you how to enable the Leigod Accelerator router plugin on OpenWrt to accelerate devices such as game consoles, PCs, and mobile phones.

Asus routers (Mei modification) and Xiaomi MiROM original firmware cannot use this manager. It supports third-party OpenWrt installations such as QWRT/LEDE/ImmoraliWrt/iStoreOS to install the Leigod Accelerator plugin.

CatWrt users can quickly identify and install it in Cattools. For more information, please refer to this blog post 👇

1

Use the exclusive Leigod Accelerator password miaoer to get 50 hours of uninterrupted experience. It can achieve 6-end acceleration when used with OpenWrt on PC.
PC redemption: Leigod Accelerator - More in the upper right corner - CDK/Password redemption - Enter miaoer for password redemption duration.

catwrt-v24.9-leigod


SSH#

First, we need to connect to SSH. Here, you can use the built-in OpenSSH in Windows directly in Windows Terminal or CMD by entering ssh [email protected]. Here, 192.168.1.4 is your OpenWrt address.

For more information, please refer to this blog post 👇

2

Log in to the terminal and click COPY on the right side of the blog to copy the code and paste it into the terminal to run it.

sh -c "$(curl -fsSL https://service.miaoer.xyz/openwrt-leigodacc-manager/leigod.sh)"

The example below is the menu panel of all functions of the manager.

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell and learn about new features and improvements! https://aka.ms/PSWindows

PS C:\Users\Cat> ssh [email protected]
[email protected]'s password:


BusyBox v1.36.0 (2023-07-05 11:34:20 UTC) built-in shell (ash)


     _____     _             _
    |     |___| |_ _ _ _ ___| |_
    |   --| .'|  _| | | |  _|  _|
    |_____|__,|_| |_____|_| |_|
   W I R E L E S S   F R E E D O M

======================================
         CatWrt.v24.9.x86_64
           Blog: miaoer.xyz
 OpenWrt: Lean source r6781-062d85f8f
======================================
root@CatWrt:~# sh -c "$(curl -fsSL https://service.miaoer.xyz/openwrt-leigodacc-manager/leigod.sh)"

=============================
OpenWrt LeigodAcc Manager

1. Install
2. Uninstall
3. Reinstall/Update
4. Disable/Enable Leigod service
5. Switch running mode (TUN/Tproxy)
6. Install compatibility dependencies (host optimization)
7. Disable IPv6 (mobile optimization)
8. Feedback/Help
0. Exit
=============================
Select the number of the function and press Enter to execute:

Install#

Enter 1 here and press Enter to confirm. This will update the software source and check for missing component dependencies required by the Leigod Accelerator plugin.

......
[INFO] libpcap necessary components are installed, skipping
[INFO] iptables necessary components are installed, skipping
[INFO] kmod-ipt-nat necessary components are installed, skipping
[INFO] iptables-mod-tproxy necessary components are installed, skipping
[INFO] ipset necessary components are installed, skipping
[INFO] kmod-tun is installed, skipping
[INFO] kmod-ipt-tproxy is installed, skipping
[INFO] kmod-netem is installed, skipping
[INFO] tc-full is installed, skipping
[INFO] kmod-ipt-ipset is installed, skipping
[INFO] conntrack is installed, skipping
[INFO] The following is the script provided by Leigod. If you encounter any problems, please provide the output content (screenshots/text) to the group for feedback.
....

If you see [INFO] Missing component package: kmod-netem or other components here, it means that your firmware is currently missing this dependency, which may affect the user experience, but it can still be used normally.

After installing the dependencies, the official OpenWrt plugin for the Leigod Accelerator will be installed. This will execute the official script and output a large amount of content.

Until the official script is finished, it will check whether the binary file directory exists. If it exists, it means that the installation is successful and the prompt will be displayed: [INFO] LeigodAcc has been successfully installed.

You can go to the OpenWrt background to experience the Leigod Accelerator plugin.

::: warning
If the necessary components are missing, the Leigod Accelerator will not work properly. It is recommended to configure the software source or replace the appropriate firmware.
:::

Bind Device#

Download Leigod Accelerator for Android & iOS Bind Device

APP - Hardware Acceleration - Install Router Plugin (Install) - Environment Detection (UPNP) - Log in to the router (SSH) - Start Acceleration

If the installation and binding fail due to timeout, run the manager again and rebind the device.

image

Uninstall#

Uninstalling is simple here, just select 2 in the manager and press Enter to confirm.

The blog below includes a list of dependency components. If you are interested, you can try it yourself. The manager itself will not uninstall these dependencies, only uninstall the Leigod Accelerator-related components.

Beginner players should not uninstall these dependencies, especially the kmod kernel modules. Be very careful.

Reinstall/Update#

As the name suggests, you can reinstall the Leigod Accelerator, and if there is an update, reinstalling it will give you the latest version of the Leigod Accelerator plugin.

It will prompt to uninstall: [INFO] Confirm uninstall? Enter the number and press Enter or automatically uninstall after 10s ([1]Confirm / [2]Cancel): Select 1 and press Enter, it will automatically reinstall.

Disable/Enable Leigod Service#

Disabling/Enabling the Leigod Service means turning the Leigod Accelerator on and off. If it is disabled, you will not be able to enable the acceleration service in the OpenWrt background. Disabling and then enabling it can restart the Leigod Accelerator. It will not start the accelerator automatically after being disabled.

Switch Running Mode#

Switching the running mode here means changing the original Tproxy proxy to Tunnel proxy.

Tun mode has better game compatibility because it involves a lower-level network architecture. I won't go into details here. It will consume more memory and performance compared to Tproxy.

Tproxy, which is selected by default, has better performance. It depends on personal preference.

The [INFO] in the middle is usually printed after restarting the service. If it does not match the output, please comment below and let me know.

[INFO] Switched to tun mode
match x86_64 -> amd64
uci: Entry not found
sh: : unknown operand
uci: Entry not found
sh: : unknown operand
router is not xiaomi, use general openwrt
/etc/rc.common: line 129: show_openwrt_suggestion: not found
start service: /usr/sbin/leigod/acc-gw.linux.amd64 --mode tun
[INFO] LeigodAcc service has been restarted
[INFO] Switched to tproxy mode
match x86_64 -> amd64
uci: Entry not found
sh: : unknown operand
uci: Entry not found
sh: : unknown operand
router is not xiaomi, use general openwrt
/etc/rc.common: line 129: show_openwrt_suggestion: not found
start service: /usr/sbin/leigod/acc-gw.linux.amd64
[INFO] LeigodAcc service has been restarted

Install Compatibility Dependencies (Host Optimization)#

Choosing to install compatibility dependencies means installing the missing components through Tianlingyuan. Because this operation may not be good and has not been extensively tested, it is recommended to use the pre-compiled CatWrt or Tianling's ImmoralWrt for installation.

The original firmware can also be used. It depends on personal preference. This function mainly affects the connectivity detection of game consoles, detecting NAT types, and displaying the normal PING after acceleration in the game.

Disable IPv6 (Mobile Optimization)#

Disabling IPv6 allows some mobile games or game consoles and PCs to be properly proxied through the OpenWrt Leigod Accelerator.

Please note that disabling and enabling require disconnecting and reconnecting the Wi-Fi wireless network on the phone, so that the Leigod Accelerator can recognize your device. It is best to forget the connection and turn off the random MAC address (iOS: private wireless network address).

Components#

Only geeks and developers need to understand this. Novice users do not need to pay attention. The plugin will automatically install the installable components.

Necessary components (affecting plugin operation)

libpcap
iptables
kmod-ipt-nat
iptables-mod-tproxy
tc-full
kmod-ipt-ipset
ipset
kmod-tun
curl
miniupnpd

Non-essential components (affecting in-game PING value and NAT type detection)

kmod-ipt-tproxy
kmod-netem
conntrack
conntrackd

Help#

The IPK version is currently being merged with LEDE. At that time, the official version and the Lean version will be retained. The Lean version can compile all dependencies and set the duration of pausing the Leigod Accelerator.

If you need help, you can join the Leigod Accelerator experience group 632342113.

No network temporarily does not support coexistence with proxy-like plugins, please turn off the proxy plugin.

Regarding nftables (firewall4), it is temporarily not supported. If you use a pure firewall4 environment, it may not support normal operation. Please use versions based on luci 22.x or below, such as CatWrt/LEDE/QWRT/immoralwrt 22.x/iStoreOS

If you want to support me in continuing to develop OpenWrt peripherals for Leigod, you can support me with my password miaoer. The specific operation is written at the top. Thank you very much for your support, regardless of whether you have redeemed it before.

leigod

This article is synchronized and updated to xLog by Mix Space.
The original link is https://www.miaoer.xyz/posts/blog/openwrt-leigodacc-manager


Footnotes#

  1. https://www.miaoer.xyz/posts/blog/cattools

  2. https://www.miaoer.xyz/posts/blog/ssh-connection-to-openwrt

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.