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

Add cloudflared #5333

Merged
merged 2 commits into from
Jul 3, 2022
Merged

Add cloudflared #5333

merged 2 commits into from
Jul 3, 2022

Conversation

karasevm
Copy link
Contributor

Description

Cloudflare Zero Trust provides an alternative to traditional VPN solutions without the need to expose your devices to the internet, it's been available on higher end models as a docker image, but this enables it's use on low end hardware.

Checklist

  • Build rule all-supported completed successfully
  • New installation of package completed successfully
  • Package upgrade completed successfully (Manually install the package again)
  • Package functionality was tested
  • Any needed documentation is updated/created

Type of change

  • Bug fix
  • New Package
  • Package update
  • Includes small framework changes
  • This change requires a documentation update (e.g. Wiki)

spk/cloudflared/Makefile Outdated Show resolved Hide resolved
@@ -0,0 +1,18 @@
TOKEN_FILE="${SYNOPKG_PKGVAR}/token"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or does the token allow you to manage it remotely?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, config file is used in locally managed tunnels and the token is used in tunnels managed through the dashboard. As far as I understand, remote management is the recommended set up. The service command is the same that's used in the systemd service created by following the official documentation.

It seems there are also ways to use a credentials file with remote management, but they involve an interactive setup, passing premade configs, or using the API (related issues cloudflare/cloudflared#645, cloudflare/cloudflared#665).

@publicarray
Copy link
Member

Awesome work! Thanks for the PR, I'm just not 100% sure on the name because cloudflared does more than create a tunnel but on the other hand that is probably the most common use case.

@publicarray publicarray merged commit f8ebb1e into SynoCommunity:master Jul 3, 2022
@hgy59 hgy59 added the status/published Published and activated (may take up to 48h until visible in DSM package manager) label Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/published Published and activated (may take up to 48h until visible in DSM package manager)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants