sensec / luci-app-udp2raw Goto Github PK
View Code? Open in Web Editor NEWOpenWrt/LEDE LuCI for udp2raw-tunnel
License: GNU General Public License v3.0
OpenWrt/LEDE LuCI for udp2raw-tunnel
License: GNU General Public License v3.0
用了最新版 https://github.com/wangyu-/udp2raw-tunnel/releases/tag/20190716.test.0
服务器开启fix-gro参数时,客户端无法连接。将--fix-gro
写入/var/etc/udp2raw.default.conf
不起作用,会被覆写。
设置界面中填写ipv6地址报“一个或多个选项值有误!”,手动修改/etc/config/udp2raw
文件并重启会报服务器地址验证出错。
使用SDK OpenWrt-SDK-15.05.1-ramips-mt7621_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2
按照 教程 操作。
报错:
miyouzi@ubuntu:~/wangyu/openwrt-sdk$ make menuconfig
make -s -C scripts/config all CC=cc: build failed. Please re-run make with -j1 V=s to see what's going on
/home/miyouzi/wangyu/openwrt-sdk/include/toplevel.mk:89: recipe for target 'scripts/config/mconf' failed
make: *** [scripts/config/mconf] Error 1
miyouzi@ubuntu:~/wangyu/openwrt-sdk$ make menuconfig -j1 V=s
make[1]: Entering directory '/home/miyouzi/wangyu/openwrt-sdk/scripts/config'
/usr/bin/x86_64-linux-gnu-ld: zconf.tab.o: relocation R_X86_64_32S against symbol `symbol_yes' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:32: recipe for target 'mconf' failed
make[1]: *** [mconf] Error 1
make[1]: Leaving directory '/home/miyouzi/wangyu/openwrt-sdk/scripts/config'
/home/miyouzi/wangyu/openwrt-sdk/include/toplevel.mk:89: recipe for target 'scripts/config/mconf' failed
make: *** [scripts/config/mconf] Error 2
但是跳过这一步,直接 make ,可以直接编译出 ipk ,并可以使用,请问这是什么问题。
环境:Ubuntu 18 LTS 64bit
请问openwrt怎么以非root运行,openwrt没有setcap
需要用到 --sock-buf 但是没地方可以填写,如果有个其它参数可以自己补充就更好了,毕竟主程序也一直在更新,有新的参数直接填到其它参数里面就可以跑了
Maybe this guide is for dummies like me, but i spent hours trying to figure out how to install this into OpenWrt v23.05.
My issue was that I couldn't find udp2raw ipk installation file anymore. So here is what I did:
UDP2RAW Installation:
chmod +x
it. Then test it to see if it runs and is compatible with your CPU./usr/bin/udp2raw
. for example: cp -f /root/udp2raw_arm_asm_aes /usr/bin/udp2raw
luci-app-udp2raw Installation:
opkg install luci-compat
opkg install luci-app-udp2raw.ipk
Enjoy.
P.S Because OpenWRT 23.05 and newer versions default to nftables instead of iptables, you cant use udp2raw's default rule adding and it will throw an error and not start. so to fix it uncheck "Auto Rule" in your Server Settings page, and add the rules manually.
一直显示未运行,无法启动客户端,想看看日志里有没有错误信息,不知道从哪里查看。
谢谢!
Build environment: Debian from Microsoft Store [Windows Subsystem for Linux (WSL)]
I am following this compile guide. While compiling, I encounter this issue:
root@xxxxxxxx:~/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64# cd package/
root@xxxxxxxx:~/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64/package# ls
linux Makefile toolchain
root@xxxxxxxx:~/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64/package# git clone https://github.com/sensec/luci-app-udp2raw.git
Cloning into 'luci-app-udp2raw'...
remote: Enumerating objects: 106, done.
remote: Total 106 (delta 0), reused 0 (delta 0), pack-reused 106
Receiving objects: 100% (106/106), 260.96 KiB | 193.00 KiB/s, done.
Resolving deltas: 100% (25/25), done.
root@xxxxxxxx:~/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64/package# git clone https://github.com/sensec/openwrt-udp2raw.git
Cloning into 'openwrt-udp2raw'...
remote: Enumerating objects: 27, done.
remote: Total 27 (delta 0), reused 0 (delta 0), pack-reused 27
Unpacking objects: 100% (27/27), done.
root@xxxxxxxx:~/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64/package# cd ..
root@xxxxxxxx:~/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64# make menuconfig
awk: include/scan.awk: line 21: function asort never defined
awk: include/scan.awk: line 21: function asort never defined
Collecting package info: done
awk: include/scan.awk: line 21: function asort never defined
awk: include/scan.awk: line 21: function asort never defined
Collecting target info: done
configuration written to .config
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
root@xxxxxxxx:~/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64# make package/openwrt-udp2raw/compile V=s
awk: include/scan.awk: line 21: function asort never defined
awk: include/scan.awk: line 21: function asort never defined
awk: include/scan.awk: line 21: function asort never defined
awk: include/scan.awk: line 21: function asort never defined
#
# configuration written to .config
#
make[1]: Entering directory '/root/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64'
make[1]: *** No rule to make target 'package/openwrt-udp2raw/compile'. Stop.
make[1]: Leaving directory '/root/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64'
/root/lede-sdk-17.01.6-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64/include/toplevel.mk:198: recipe for target 'package/openwrt-udp2raw/compile' failed
make: *** [package/openwrt-udp2raw/compile] Error 2
I have no idea what is causing this. Any ideas?
For first few runs, everything was okay. But, after some time, it suddenly stops working. Repeated server disable-enable, and it still shows as NOT RUNNING.
Symptom:
When I run udp2raw
manually (udp2raw --conf-file /var/etc/udp2raw.default.conf
), udp2raw-tunnel then shows as RUNNING, telling me that detection is working okay.
The only problem it seems is that udp2raw-tunnel cannot manage the process. It cannot start udp2raw
. It also cannot stop the process I started manually (when I set Server to Disabled).
rt,怎么作为服务端使用
不会编译 N1盒子 lean OpenWrt R20.2.15固件 不知道怎么编译
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.