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/OpenClashInstall via npx
npx @hexmos/ipm i vernesong/OpenClashPrerequisites
OpenWrt
osVersion: 15.05.1-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2
SDK
package_managerVersion: 15.05.1-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2
bash
system_toolVersion: 5.1.17
curl
system_toolVersion: 7.84.0
ca-bundle
system_packageVersion: 1.0.0
ipset
system_toolVersion: 2.0.0
ip-full
system_toolVersion: 1.0.0
ruby
languageVersion: 3.2.1
ruby-yaml
languageVersion: 1.10.0
unzip
system_toolVersion: 5.0.0
iptables
system_toolVersion: 4.1.0
kmod-ipt-nat
system_toolVersion: 2.0.0
iptables-mod-tproxy
system_toolVersion: 1.0.0
iptables-mod-extra
system_toolVersion: 2.0.0
kmod-tun
system_toolVersion: 1.0.0
luci
system_packageip6tables-mod-nat
system_toolVersion: 2.0.0
kmod-inet-diag
system_toolVersion: 1.0.0
kmod-nft-tproxy
system_toolVersion: 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.ipkDownload 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.
