Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Able to run on openwrt #25

Closed
v2ray opened this issue Sep 24, 2015 · 8 comments
Closed

Able to run on openwrt #25

v2ray opened this issue Sep 24, 2015 · 8 comments
Labels
Milestone

Comments

@v2ray
Copy link
Collaborator

v2ray commented Sep 24, 2015

It would be great that V2Ray is able to run on a router so that the whole family surf the internet without blocking.

Current difficulties are:

  • golang doesn't have a compiler option for openwrt;
  • V2Ray still uses too much ram (~10M) which doesn't fit for a regular router.
@v2ray v2ray added the Bug label Sep 24, 2015
@v2ray v2ray added this to the Version Next milestone Sep 24, 2015
@ohyeah521
Copy link

yes ,rom rand mem is a big problem for router.

@braveguywallce
Copy link

this has to be written by C again so it may fit for the Router, like the
shadowsocks-libev edition.

2015-09-24 19:06 GMT+08:00 ohyeah521 notifications@github.com:

yes ,rom rand mem is a big problem for router.


Reply to this email directly or view it on GitHub
#25 (comment).

@asaarashi
Copy link

I am eager for that, thanks for your distribution. It's a great job for the human being.
My home's router has 256M memory! Is there a guide about setup v2ray on my OpenWRT router?

@pminmax945
Copy link

@thrieu if your router is ARM (or MIPS64 ,almost none) based , you can cross compile v2ray-core with google's go .or your router is MIPS32 based, you can try with gcc-go(lastest gcc5-go supports go version up to 1.4.2 only)

@asaarashi
Copy link

@pminmax945 年后试试。

@bettermanbao
Copy link

I can run golang helloworld on my $8 openwrt router, AR9341 MIPS32 with 16M ROM + 64M RAM. I will try to cross complie v2ray, to see if it could be fit into my router. But I have one suggestion, if v2ray could support the function like ss-redir, it would be perfect to install on router.

@v2ray
Copy link
Collaborator Author

v2ray commented Jun 12, 2016

V2Ray now has releases for ARM and MIPS64. They are capable to run on a router with less than 32M free memory.

There is no plan to support MIPS32 due to golang's restriction.
There is no plan to integrate with OpenWRT build system either at the moment.

@v2ray v2ray closed this as completed Jun 12, 2016
@bettermanbao
Copy link

@v2ray I believe v2ray should be no problem to cross compile into mips32, I have successfully run kcptun (https://github.com/xtaci/kcptun) on my mips32 router. kcptun is written in go for fast data transfer using UDP. The only one I'm concerning is the performance, since most mips32 cpu is not powerful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants