Ysurac / openmptcprouter-vps

OpenMPTCProuter VPS scripts
GNU General Public License v3.0
158 stars 69 forks source link

Suggestion: Raspberry Pi as VPS #22

Open adrianmace opened 5 years ago

adrianmace commented 5 years ago

I would like the ability to run the VPS portion of this project off a Raspberry Pi (3B+ or 4). This would allow me to place a variety of Pi devices at various locations at low cost and use them as endpoints.

I understand that all tooling would need to be compiled for ARM so it might be a non-starter.

sqerk commented 5 years ago

I have the server running on a raspberry pi. I used this script to compile and install the mptcp kernel on a raspi 3 running raspbian stretch: https://gist.github.com/Cnly/1fff0279259122075e96692f3981e38c Then I followed the debian9-x86_64.sh install script, line by line, finding arm substitutes for the x86 specific commands. I'll try to comb through my copy/paste and bash_history and post a rpi version of the script.

sqerk commented 5 years ago

Just an update Re: Raspberry Pi as VPS. I eventually abandoned it after I tried openmptcprouter-vps on a vmware virtual machine on a windows 10 computer. That worked MUCH better. Now I'm running the VPS end on that same network and computer but ditched the VM, running just Debian 9 and its even better.

Probably for a different thread, but I had major problems recently after upgrading both the raspi client and debian server. Downgraded both, then ended up upgrading the raspi client to the current public release, but keeping the debian server at OMR version 0.999. OMR 0.1001 just did not work with my setup. It seemed to work but very quickly downloads would fail, voip services would barley work... I've yet to try OMR 0.1002, haven't looked at the changelog yet, its running so perfectly and the last upgrade was such a disaster. But I will give it a shot when I have time to play with it again.

OP, a Raspberry Pi as the VPS didn't work super great for me cause I was running raspbian and probably wasn't doing everything right. Using an OpenWRT image paired with the server version of everything on the OpenWRT client should work better though.

AlexGiroud commented 2 years ago

That would be pretty cool to have an arm image/setup for the server, having a good connection and an ISP box where i can deploy arm based VM, i wanted to first use this for the exit node

squeaky-geek commented 2 years ago

is there a 32 bit ( i386 / x86 ) server image? or will the generic 32 / 64 image work? trying to roll my own server with a stratacache spectra s-200 and debian 11.05 i386. ( or will i need to compile from source? ( ive never compiled from source before so that will be fun if needed ) -thanks for putting up with me xD