trojan-gfw / openwrt-trojan

trojan and its dependencies for OpenWrt
266 stars 115 forks source link

How to use it in Openwrt or LEDE? #9

Closed f3404923 closed 4 years ago

f3404923 commented 4 years ago

I had compiled the trojan to LEDE, but I do not know how to use it. Can you tell me?

babylife commented 4 years ago

same question。 seems need to build via openwrt source code? how about Merlin?

f3404923 commented 4 years ago

I got some information about this in youtube. The trojan of lede can config in "network menu". but if you want to use it, you have to config it by console, it is difficult for me. @babylife

psyvirgin commented 4 years ago

The same problem. There is no trojan config UI

henrykey commented 4 years ago

I’m thinking about this way. Trojan client could be installed in a normal Linux with socks as regular inbound and setup a v2ray on an openwrt router with an outbound of socks to forward traffic to the Trojan client and routing capability of v2ray could be used for transparent proxy. Of course u got to have a VPS Trojan server ready.

cokebar commented 4 years ago

Now you can only use it by console or shell script. There's no existing luci-app. For shadowsocks, we have luci-app-shadowsocks: https://github.com/shadowsocks/luci-app-shadowsocks For trojan we can take luci-app-shadowsocks as an example and make a similar one.

zxdong262 commented 4 years ago

I can find that trojan is in network menu, press Y to turn it on. After make, there will be an trojan ipk file in staging_dir/packages, and I tried opkg install trojan_1.14.1-3_arm_cortex-a9.ipk, got error: pkg_hash_fetch_best_installation_candidate: Packages for trojan found, but incompatible with the architectures configured

txdywy commented 4 years ago

没选对架构编译

ZHAO Xudong notifications@github.com 于 2020年2月26日周三 下午11:38写道:

I can find that trojan is in network menu, press Y to turn it on. After make, there will be an trojan ipk file in staging_dir/packages, and I tried opkg install trojan_1.14.1-3_arm_cortex-a9.ipk, got error: pkg_hash_fetch_best_installation_candidate: Packages for trojan found, but incompatible with the architectures configured

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/trojan-gfw/openwrt-trojan/issues/9?email_source=notifications&email_token=AAG7EC24ER3PUENP6EHR73LRE2EI3A5CNFSM4JSQB7D2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENAWY7I#issuecomment-591490173, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG7EC4R6ODUR6EVOXOUGW3RE2EI3ANCNFSM4JSQB7DQ .

zxdong262 commented 4 years ago

我的asus RT87U, 我看都选对了Target: bcm53xx architecture: arm_cortex-a9, 还有个专门的87u profile, 请教还有什么地方要设置呢 @txdywy