SensorsIot / IOTstack

Docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.44k stars 304 forks source link

20220811 ZeroTier - old-menu branch - PR 2 of 2 #596

Closed Paraphraser closed 1 year ago

Paraphraser commented 2 years ago

Adds first cut of ZeroTier in the form of two containers:

The two containers are mutually exclusive (no menu check - docker-compose will complain about port conflicts). My guess is that IOTstack users will generally prefer the router because it is closer to WireGuard functionality, and is likely what an IOTstack user will be looking for if they find themselves stuck behind CGNAT.

ZeroTier-client is the standard client. Has no environment variables or other preconfiguration. Needs to be instructed to join the user's ZeroTier network after first launch. Otherwise works "as is".

ZeroTier-router is built on top of ZeroTier-client and adds management of iptables rules at startup/shutdown to support routing to/from the local network. Has environment variables with defaults appropriate for IOTstack.

Adds documentation stub pointing to master branch wiki.

Signed-off-by: Phill Kelley 34226495+Paraphraser@users.noreply.github.com