Skip to content

Commit cbdf88e

Browse files
committed
TUN-5164: Update README and clean up references to Argo Tunnel (using Cloudflare Tunnel instead)
1 parent 79ebfa8 commit cbdf88e

File tree

15 files changed

+77
-58
lines changed

15 files changed

+77
-58
lines changed

.teamcity/update-homebrew.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ git reset --hard origin/master
4646
URL="https://packages.argotunnel.com/dl/cloudflared-$VERSION-darwin-amd64.tgz"
4747
tee cloudflared.rb <<EOF
4848
class Cloudflared < Formula
49-
desc 'Argo Tunnel'
50-
homepage 'https://developers.cloudflare.com/argo-tunnel/'
49+
desc 'Cloudflare Tunnel'
50+
homepage 'https://developers.cloudflare.com/cloudflare-one/connections/connect-apps'
5151
url '$URL'
5252
sha256 '$SHA256'
5353
version '$VERSION'
@@ -62,6 +62,6 @@ git add cloudflared.rb
6262
git diff
6363
git config user.name "cloudflare-warp-bot"
6464
git config user.email "[email protected]"
65-
git commit -m "Release Argo Tunnel $VERSION"
65+
git commit -m "Release Cloudflare Tunnel $VERSION"
6666

6767
git push -v origin master

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ define build_package
132132
cp cloudflared $(PACKAGE_DIR)/cloudflared
133133
cat cloudflared_man_template | sed -e 's/\$${VERSION}/$(VERSION)/; s/\$${DATE}/$(DATE)/' > $(PACKAGE_DIR)/cloudflared.1
134134
fakeroot fpm -C $(PACKAGE_DIR) -s dir -t $(1) \
135-
--description 'Cloudflare Argo tunnel daemon' \
135+
--description 'Cloudflare Tunnel daemon' \
136136
--vendor 'Cloudflare' \
137137
--license 'Cloudflare Service Agreement' \
138138
--url 'https://github.com/cloudflare/cloudflared' \

README.md

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
1-
# Argo Tunnel client
1+
# Cloudflare Tunnel client
22

3-
Contains the command-line client for Argo Tunnel, a tunneling daemon that proxies any local webserver through the Cloudflare network. Extensive documentation can be found in the [Argo Tunnel section](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps) of the Cloudflare Docs.
3+
Contains the command-line client for Cloudflare Tunnel, a tunneling daemon that proxies traffic from the Cloudflare network to your origins.
4+
This daemon sits between Cloudflare network and your origin (e.g. a webserver). Cloudflare attracts client requests and sends them to you
5+
via this daemon, without requiring you to poke holes on your firewall --- your origin can remain as closed as possible.
6+
Extensive documentation can be found in the [Cloudflare Tunnel section](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps) of the Cloudflare Docs.
7+
All usages related with proxying to your origins are available under `cloudflared tunnel help`.
48

5-
## Before you get started
9+
You can also use `cloudflared` to access Tunnel origins (that are protected with `cloudflared tunnel`) for TCP traffic
10+
at Layer 4 (i.e., not HTTP/websocket), which is relevant for use cases such as SSH, RDP, etc.
11+
Such usages are available under `cloudflared access help`.
12+
13+
You can instead use [WARP client](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configuration/private-networks)
14+
to access private origins behind Tunnels for Layer 4 traffic without requiring `cloudflared access` commands on the client side.
615

7-
Before you use Argo Tunnel, you'll need to complete a few steps in the Cloudflare dashboard. The website you add to Cloudflare will be used to route traffic to your Tunnel.
816

17+
## Before you get started
18+
19+
Before you use Cloudflare Tunnel, you'll need to complete a few steps in the Cloudflare dashboard: you need to add a
20+
website to your Cloudflare account. Note that today it is possible to use Tunnel without a website (e.g. for private
21+
routing), but for legacy reasons this requirement is still necessary:
922
1. [Add a website to Cloudflare](https://support.cloudflare.com/hc/en-us/articles/201720164-Creating-a-Cloudflare-account-and-adding-a-website)
1023
2. [Change your domain nameservers to Cloudflare](https://support.cloudflare.com/hc/en-us/articles/205195708)
1124

25+
1226
## Installing `cloudflared`
1327

1428
Downloads are available as standalone binaries, a Docker image, and Debian, RPM, and Homebrew packages. You can also find releases here on the `cloudflared` GitHub repository.
@@ -18,18 +32,23 @@ Downloads are available as standalone binaries, a Docker image, and Debian, RPM,
1832
* A Docker image of `cloudflared` is [available on DockerHub](https://hub.docker.com/r/cloudflare/cloudflared)
1933
* You can install on Windows machines with the [steps here](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/installation#windows)
2034

21-
User documentation for Argo Tunnel can be found at https://developers.cloudflare.com/cloudflare-one/connections/connect-apps
35+
User documentation for Cloudflare Tunnel can be found at https://developers.cloudflare.com/cloudflare-one/connections/connect-apps
36+
2237

2338
## Creating Tunnels and routing traffic
2439

25-
Once installed, you can authenticate `cloudflared` into your Cloudflare account and begin creating Tunnels that serve traffic for hostnames in your account.
40+
Once installed, you can authenticate `cloudflared` into your Cloudflare account and begin creating Tunnels to serve traffic to your origins.
2641

2742
* Create a Tunnel with [these instructions](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/create-tunnel)
28-
* Route traffic to that Tunnel with [DNS records in Cloudflare](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/routing-to-tunnel/dns) or with a [Cloudflare Load Balancer](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/routing-to-tunnel/lb)
43+
* Route traffic to that Tunnel:
44+
* Via public [DNS records in Cloudflare](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/routing-to-tunnel/dns)
45+
* Or via a public hostname guided by a [Cloudflare Load Balancer](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/routing-to-tunnel/lb)
46+
* Or from [WARP client private traffic](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configuration/private-networks)
47+
2948

3049
## TryCloudflare
3150

32-
Want to test Argo Tunnel before adding a website to Cloudflare? You can do so with TryCloudflare using the documentation [available here](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/run-tunnel/trycloudflare).
51+
Want to test Cloudflare Tunnel before adding a website to Cloudflare? You can do so with TryCloudflare using the documentation [available here](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/run-tunnel/trycloudflare).
3352

3453
## Deprecated versions
3554

cmd/cloudflared/cliutil/deprecated.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ func RemovedCommand(name string) *cli.Command {
1111
Name: name,
1212
Action: func(context *cli.Context) error {
1313
return cli.Exit(
14-
fmt.Sprintf("%s command is no longer supported by cloudflared. Consult Argo Tunnel documentation for possible alternative solutions.", name),
14+
fmt.Sprintf("%s command is no longer supported by cloudflared. Consult Cloudflare Tunnel documentation for possible alternative solutions.", name),
1515
-1,
1616
)
1717
},

cmd/cloudflared/linux_service.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ import (
1919
func runApp(app *cli.App, graceShutdownC chan struct{}) {
2020
app.Commands = append(app.Commands, &cli.Command{
2121
Name: "service",
22-
Usage: "Manages the Argo Tunnel system service",
22+
Usage: "Manages the Cloudflare Tunnel system service",
2323
Subcommands: []*cli.Command{
2424
{
2525
Name: "install",
26-
Usage: "Install Argo Tunnel as a system service",
26+
Usage: "Install Cloudflare Tunnel as a system service",
2727
Action: cliutil.ConfiguredAction(installLinuxService),
2828
Flags: []cli.Flag{
2929
&cli.BoolFlag{
@@ -34,7 +34,7 @@ func runApp(app *cli.App, graceShutdownC chan struct{}) {
3434
},
3535
{
3636
Name: "uninstall",
37-
Usage: "Uninstall the Argo Tunnel service",
37+
Usage: "Uninstall the Cloudflare Tunnel service",
3838
Action: cliutil.ConfiguredAction(uninstallLinuxService),
3939
},
4040
},
@@ -55,7 +55,7 @@ var systemdTemplates = []ServiceTemplate{
5555
{
5656
Path: "/etc/systemd/system/cloudflared.service",
5757
Content: `[Unit]
58-
Description=Argo Tunnel
58+
Description=Cloudflare Tunnel
5959
After=network.target
6060
6161
[Service]
@@ -72,7 +72,7 @@ WantedBy=multi-user.target
7272
{
7373
Path: "/etc/systemd/system/cloudflared-update.service",
7474
Content: `[Unit]
75-
Description=Update Argo Tunnel
75+
Description=Update Cloudflare Tunnel
7676
After=network.target
7777
7878
[Service]
@@ -82,7 +82,7 @@ ExecStart=/bin/bash -c '{{ .Path }} update; code=$?; if [ $code -eq 11 ]; then s
8282
{
8383
Path: "/etc/systemd/system/cloudflared-update.timer",
8484
Content: `[Unit]
85-
Description=Update Argo Tunnel
85+
Description=Update Cloudflare Tunnel
8686
8787
[Timer]
8888
OnCalendar=daily
@@ -99,16 +99,16 @@ var sysvTemplate = ServiceTemplate{
9999
Content: `#!/bin/sh
100100
# For RedHat and cousins:
101101
# chkconfig: 2345 99 01
102-
# description: Argo Tunnel agent
102+
# description: Cloudflare Tunnel agent
103103
# processname: {{.Path}}
104104
### BEGIN INIT INFO
105105
# Provides: {{.Path}}
106106
# Required-Start:
107107
# Required-Stop:
108108
# Default-Start: 2 3 4 5
109109
# Default-Stop: 0 1 6
110-
# Short-Description: Argo Tunnel
111-
# Description: Argo Tunnel agent
110+
# Short-Description: Cloudflare Tunnel
111+
# Description: Cloudflare Tunnel agent
112112
### END INIT INFO
113113
name=$(basename $(readlink -f $0))
114114
cmd="{{.Path}} --config /etc/cloudflared/config.yml --pidfile /var/run/$name.pid --autoupdate-freq 24h0m0s{{ range .ExtraArgs }} {{ . }}{{ end }}"

cmd/cloudflared/macos_service.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ const (
2020
func runApp(app *cli.App, graceShutdownC chan struct{}) {
2121
app.Commands = append(app.Commands, &cli.Command{
2222
Name: "service",
23-
Usage: "Manages the Argo Tunnel launch agent",
23+
Usage: "Manages the Cloudflare Tunnel launch agent",
2424
Subcommands: []*cli.Command{
2525
{
2626
Name: "install",
27-
Usage: "Install Argo Tunnel as an user launch agent",
27+
Usage: "Install Cloudflare Tunnel as an user launch agent",
2828
Action: cliutil.ConfiguredAction(installLaunchd),
2929
},
3030
{
3131
Name: "uninstall",
32-
Usage: "Uninstall the Argo Tunnel launch agent",
32+
Usage: "Uninstall the Cloudflare Tunnel launch agent",
3333
Action: cliutil.ConfiguredAction(uninstallLaunchd),
3434
},
3535
},
@@ -110,13 +110,13 @@ func installLaunchd(c *cli.Context) error {
110110
log := logger.CreateLoggerFromContext(c, logger.EnableTerminalLog)
111111

112112
if isRootUser() {
113-
log.Info().Msg("Installing Argo Tunnel client as a system launch daemon. " +
114-
"Argo Tunnel client will run at boot")
113+
log.Info().Msg("Installing Cloudflare Tunnel client as a system launch daemon. " +
114+
"Cloudflare Tunnel client will run at boot")
115115
} else {
116-
log.Info().Msg("Installing Argo Tunnel client as an user launch agent. " +
117-
"Note that Argo Tunnel client will only run when the user is logged in. " +
118-
"If you want to run Argo Tunnel client at boot, install with root permission. " +
119-
"For more information, visit https://developers.cloudflare.com/argo-tunnel/reference/service/")
116+
log.Info().Msg("Installing Cloudflare Tunnel client as an user launch agent. " +
117+
"Note that Cloudflare Tunnel client will only run when the user is logged in. " +
118+
"If you want to run Cloudflare Tunnel client at boot, install with root permission. " +
119+
"For more information, visit https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/run-tunnel/run-as-service")
120120
}
121121
etPath, err := os.Executable()
122122
if err != nil {
@@ -159,9 +159,9 @@ func uninstallLaunchd(c *cli.Context) error {
159159
log := logger.CreateLoggerFromContext(c, logger.EnableTerminalLog)
160160

161161
if isRootUser() {
162-
log.Info().Msg("Uninstalling Argo Tunnel as a system launch daemon")
162+
log.Info().Msg("Uninstalling Cloudflare Tunnel as a system launch daemon")
163163
} else {
164-
log.Info().Msg("Uninstalling Argo Tunnel as an user launch agent")
164+
log.Info().Msg("Uninstalling Cloudflare Tunnel as an user launch agent")
165165
}
166166
installPath, err := installPath()
167167
if err != nil {

cmd/cloudflared/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func main() {
6767
app.Copyright = fmt.Sprintf(
6868
`(c) %d Cloudflare Inc.
6969
Your installation of cloudflared software constitutes a symbol of your signature indicating that you accept
70-
the terms of the Cloudflare License (https://developers.cloudflare.com/argo-tunnel/license/),
70+
the terms of the Cloudflare License (https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/license),
7171
Terms (https://www.cloudflare.com/terms/) and Privacy Policy (https://www.cloudflare.com/privacypolicy/).`,
7272
time.Now().Year(),
7373
)
@@ -76,7 +76,7 @@ func main() {
7676
You can use it to authenticate a session to reach an API behind Access, route web traffic to this machine,
7777
and configure access control.
7878
79-
See https://developers.cloudflare.com/argo-tunnel/ for more in-depth documentation.`
79+
See https://developers.cloudflare.com/cloudflare-one/connections/connect-apps for more in-depth documentation.`
8080
app.Flags = flags()
8181
app.Action = action(graceShutdownC)
8282
app.Commands = commands(cli.ShowVersion)

cmd/cloudflared/tunnel/cmd.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,14 @@ func buildTunnelCommand(subcommands []*cli.Command) *cli.Command {
126126
Name: "tunnel",
127127
Action: cliutil.ConfiguredAction(TunnelCommand),
128128
Category: "Tunnel",
129-
Usage: "Make a locally-running web service accessible over the internet using Argo Tunnel.",
129+
Usage: "Make a locally-running web service accessible over the internet using Cloudflare Tunnel.",
130130
ArgsUsage: " ",
131-
Description: `Argo Tunnel asks you to specify a hostname on a Cloudflare-powered
131+
Description: `Cloudflare Tunnel asks you to specify a hostname on a Cloudflare-powered
132132
domain you control and a local address. Traffic from that hostname is routed
133133
(optionally via a Cloudflare Load Balancer) to this machine and appears on the
134134
specified port where it can be served.
135135
136-
This feature requires your Cloudflare account be subscribed to the Argo Smart Routing feature.
136+
This feature requires your Cloudflare account be subscribed to the Cloudflare Smart Routing feature.
137137
138138
To use, begin by calling login to download a certificate:
139139
@@ -488,7 +488,7 @@ func tunnelFlags(shouldHide bool) []cli.Flag {
488488
credentialsFileFlag,
489489
altsrc.NewBoolFlag(&cli.BoolFlag{
490490
Name: "is-autoupdated",
491-
Usage: "Signal the new process that Argo Tunnel connector has been autoupdated",
491+
Usage: "Signal the new process that Cloudflare Tunnel connector has been autoupdated",
492492
Value: false,
493493
Hidden: true,
494494
}),

cmd/cloudflared/tunnel/subcommand_context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func (sc *subcommandContext) readTunnelCredentials(credFinder CredFinder) (conne
151151
func (sc *subcommandContext) create(name string, credentialsFilePath string) (*tunnelstore.Tunnel, error) {
152152
client, err := sc.client()
153153
if err != nil {
154-
return nil, errors.Wrap(err, "couldn't create client to talk to Argo Tunnel backend")
154+
return nil, errors.Wrap(err, "couldn't create client to talk to Cloudflare Tunnel backend")
155155
}
156156

157157
tunnelSecret, err := generateTunnelSecret()

cmd/cloudflared/updater/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919

2020
const (
2121
DefaultCheckUpdateFreq = time.Hour * 24
22-
noUpdateInShellMessage = "cloudflared will not automatically update when run from the shell. To enable auto-updates, run cloudflared as a service: https://developers.cloudflare.com/argo-tunnel/reference/service/"
22+
noUpdateInShellMessage = "cloudflared will not automatically update when run from the shell. To enable auto-updates, run cloudflared as a service: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/run-tunnel/run-as-service"
2323
noUpdateOnWindowsMessage = "cloudflared will not automatically update on Windows systems."
2424
noUpdateManagedPackageMessage = "cloudflared will not automatically update if installed by a package manager."
2525
isManagedInstallFile = ".installedFromPackageManager"

0 commit comments

Comments
 (0)