raspap-webgui icon indicating copy to clipboard operation
raspap-webgui copied to clipboard

Support for Zerotier (similar to WireGuard and OpenVPN)

Open AleXSR700 opened this issue 3 years ago • 6 comments
trafficstars

Is your feature request related to a problem? Please describe. Zerotier installed individually and RaspAP installed individually are not working together. Similar to VPN solutions, the need for proper bridging etc. can result in the networks not working properly. Out-of-the-box support by RaspAP would prevent these issues.

Describe the solution you'd like Integration of Zerotier into RaspAP (similar to OpenVPN and WireGuard).

Describe alternatives you've considered Tried a dozen approaches to get them working individually. None worked. Only implementation into RaspAP looks like possible solution (since RaspAP devs are far far more experienced in networking under Linux than I am).

Additional context Zerotier has become a very popular VPN alternative for all the users who, like me, do not get IPv4 adresses from the ISP (DS-Lite etc.). OpenVPN and other VPN solutions do not work e.g. in Germany when using Vodafone Cable as ISP. Zerotier is needed. Without integration into RaspAP, users are forced to use either or :(

AleXSR700 avatar May 23 '22 05:05 AleXSR700

See my comment in your open discussion https://github.com/RaspAP/raspap-webgui/discussions/1166

billz avatar May 23 '22 06:05 billz

Hello @billz , thank you, yes, I saw that comment. But I found some users who seem to have it working without issues. So I am not sure what is causing the issues in my case (maybe bullseye + 64 bit + raspap + zerotier + RPi 4 B), but it seems possible to get it running.

There is even a repository, but I tried it and it did not work for me. So I am guessing that at some point the configs are messing with each other. But it seems possible. And it would be more likely to work if it were integrated into RaspAP because RaspAP would configure it accordingly.

I know it is a long shot, but a feature request is a long shot :)

P.S.: I am not ruling myself out as the problem, but I have tried every tutorial, every forum thread and every everything I could find. Now I am at the limit of my linux networking understanding. A linux pro might have it up and running in a heartbeat.

AleXSR700 avatar May 23 '22 07:05 AleXSR700

Glancing at the repo you linked, you can skip the driver installs if you aren't using these adapters. Beyond this, there's nothing out of the ordinary this user is doing. Maybe you're getting hung up on the interface metrics? There's no need to install any extra software for this. See https://github.com/RaspAP/raspap-webgui/discussions/1171#discussioncomment-2737747

In terms of integration, none of the regular RaspAP contributors (that I'm aware of) uses Zerotier, so this would require a level of effort and testing across each of the project's supported OS's. Unlike wg or openvpn it has no apt package, so this also makes it awkward to try and integrate with our installer (ie., prompting users to execute another bash script with sudo).

I guess I'd lean more toward adding this to the integrations section of our FAQ, assuming someone can validate it.

billz avatar May 25 '22 18:05 billz

Of course I skipped all the driver installation and only focused on installing RaspAP and zerotier. But it never works, no matter what I try. Unfortunately (and much to my surprise) I was unable to find anyone anywhere who uses any wlan0 + wlan1 AP on a RPi together with Zerotier. At least not with the current RPi4 and current bullseye.

AleXSR700 avatar May 25 '22 19:05 AleXSR700

No one in this project, myself included, has used this software.

Maybe instead of a "this doesn't work, make it work for me" support type request, you could try contacting the user whose repo you linked here. His repo was created last month, so I assume he's using bullseye, and his email is on his GitHub profile.

Protip: you will (usually) have better luck getting help if you can provide things like logs, process output or your kernel's routing table (use route -n) to assist with troubleshooting. Probably the Zerotier docs have some pointers on this.

billz avatar May 28 '22 18:05 billz

Hi, yes, I supplied all of that info on both reddit and on the zerotier forum. We were unable to solve it.

I will contact the owner of the github repo again but I had opened an issue about it with no luck.

AleXSR700 avatar May 29 '22 12:05 AleXSR700

I have found a fix for this. See my post Here

jsn0327 avatar Dec 23 '22 15:12 jsn0327

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Nov 28 '23 01:11 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Dec 12 '23 01:12 github-actions[bot]