logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt
How to install vernesong/OpenClash. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.

vernesong/OpenClash Installation Guide

How to install vernesong/OpenClash. Official project installation instructions and setup guide.

Automated Install (Recommended)

Quick installation instructions for vernesong/OpenClash. This is the fastest way to complete project installation and setup.

Install via curl

curl -fsSL https://hexmos.com/ipm-install | bash && 
ipm i vernesong/OpenClash
or

Install via npx

npx @hexmos/ipm i vernesong/OpenClash

Prerequisites

OpenWrt

os

Version: 15.05.1-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2

SDK

package_manager

Version: 15.05.1-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2

bash

system_tool

Version: 5.1.17

curl

system_tool

Version: 7.84.0

ca-bundle

system_package

Version: 1.0.0

ipset

system_tool

Version: 2.0.0

ip-full

system_tool

Version: 1.0.0

ruby

language

Version: 3.2.1

ruby-yaml

language

Version: 1.10.0

unzip

system_tool

Version: 5.0.0

iptables

system_tool

Version: 4.1.0

kmod-ipt-nat

system_tool

Version: 2.0.0

iptables-mod-tproxy

system_tool

Version: 1.0.0

iptables-mod-extra

system_tool

Version: 2.0.0

kmod-tun

system_tool

Version: 1.0.0

luci

system_package

ip6tables-mod-nat

system_tool

Version: 2.0.0

kmod-inet-diag

system_tool

Version: 1.0.0

kmod-nft-tproxy

system_tool

Version: 2.0.0

Manual Installation Methods

Manual installation instructions. How to install from GitHub source.

OpenWrt SDK Installation

curl -SLk --connect-timeout 30 --retry 2 "https://archive.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/OpenWrt-SDK-15.05.1-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2" -o "sdk.tar.bz2"

tar xjf sdk.tar.bz2

cd OpenWrt-SDK-15.05.1-*

mkdir package/luci-app-openclash

cd package/luci-app-openclash

git init

git remote add -f origin https://github.com/vernesong/OpenClash.git

git config core.sparsecheckout true

echo "luci-app-openclash" >> .git/info/sparse-checkout

git pull --depth 1 origin master

git branch --set-upstream-to=origin/master master

pushd luci-app-openclash/tools/po2lmo

make && sudo make install

popd

cd ../..

make package/luci-app-openclash/luci-app-openclash/compile V=99

./bin/ar71xx/packages/base/luci-app-openclash_*-beta_all.ipk

Download and Install OpenClash

curl -SLk --connect-timeout 30 --retry 2 "https://github.com/vernesong/OpenClash/releases/tag/v1.13.0" -o "clash_release.zip"

Post Installation Steps

  • Open the OpenClash dashboard by navigating to your router's IP address (usually 192.168.1.1). You can find this in your router's settings or on a network monitoring tool.
  • Log in using your credentials if prompted. If you don't have an account, create one.
  • Navigate to the 'Servers' tab and click 'Add Server'.
  • Enter the server details (IP address, port, protocol) for your chosen proxy service.