GithubHelp home page GithubHelp logo

sqwwqw5 / openwrt-luci-kcp-udp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hongwenjun/openwrt-luci-kcp-udp

0.0 1.0 0.0 67 KB

OpenWRT luci KcpTun Udp2Raw 软件包

Home Page: https://git.io/openwrt

Makefile 42.43% Shell 11.40% Lua 23.21% HTML 22.96%

openwrt-luci-kcp-udp's Introduction

openwrt-luci-kcp-udp 软件包

OpenWRT-18.06.2 编译完成的 安装包

KcpTun 软件下载 client_linux 改名成 kcp-client 存放路径 /usr/bin


OpenWRT 安装 WireGuard 配置 Udp2Raw + UdpSpeeder (或者 KcpTun)


OpenWRT-18.06.2 X64 固件和SDK 下载地址和文件名

https://downloads.openwrt.org/releases/18.06.2/targets/x86/64/

  • openwrt-18.06.2-x86-64-combined-squashfs.img.gz
  • openwrt-sdk-18.06.2-x86-64_gcc-7.3.0_musl.Linux-x86_64.tar.xz

OpenWRT-18.06.2 x86 固件和SDK 下载地址和文件名

https://downloads.openwrt.org/releases/18.06.2/targets/x86/generic/

  • openwrt-18.06.2-x86-generic-combined-squashfs.img.gz
  • openwrt-sdk-18.06.2-x86-generic_gcc-7.3.0_musl.Linux-x86_64.tar.xz

按CPU选择下载SDK后,在VPS上 解压SDK并重命名为 opensdk

tar xvJf openwrt-sdk-18.06.2-x86-64_gcc-7.3.0_musl.Linux-x86_64.tar.xz
mv openwrt-sdk-18.06.2-x86-64_gcc-7.3.0_musl.Linux-x86_64  ~/opensdk

安装编译环境

apt -y install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc wget unzip python time
apt -y install libcloog-isl-dev
ln -s /usr/lib/x86_64-linux-gnu/libisl.so /usr/lib/libisl.so.10

下载 openwrt-luci-kcp-udp 到 opensdk/package

cd ~/opensdk && git clone https://github.com/hongwenjun/openwrt-luci-kcp-udp.git
mv openwrt-luci-kcp-udp/* package

配置make menuconfig; 在弹出的节目进入Luci—>3. applications,勾选为M即可,保存退出。

cd ~/opensdk && make menuconfig

使用命令编译 luci-udptools luci-kcptools(目前还没调试完成)

make package/luci-udptools/compile V=99
make package/luci-kcptools/compile V=99
make package/udp2raw/compile V=99
make package/udpspeeder/compile V=99

  • 参考文件: 编译openwrt版udpspeeder和udp2raw 文章链接

方便下载ipk的脚本

#!/bin/bash
cd ~/opensdk/bin/packages/
ipk_url=http://$(curl -4 ip.sb):8000
python -m SimpleHTTPServer 8000 &
echo -e "请网页打开 ${ipk_url} 下载ipk文件"
echo -e "用命令 opkg install luci-xxxxxx.ipk 安装"

openwrt-luci-kcp-udp's People

Contributors

hongwenjun avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.