---
title: Install DERP Server for Tailscale on CentOS using the Snap Store | Snapcraft
description: Get the latest version of DERP Server for Tailscale for on CentOS - DERP
  Server for Tailscale
url: https://snapcraft.io/install/derper/centos
---

[Canonical Snapcraft](https://snapcraft.io/)

# Install DERP Server for Tailscale on **CentOS**

# DERP Server for Tailscale (derper)

[Canonical](https://snapcraft.io/publisher/canonical "View all snaps from Canonical")

* [Canonical](https://snapcraft.io/publisher/canonical "View all snaps from Canonical")
* [Utilities](https://snapcraft.io/search?categories=utilities)

[Install](https://snapcraft.io/install/derper/centos#install)

#### DERP Server for Tailscale

Derper is a self hosted DERP (Designated Encrypted Relay for Packets) server, designed to be used with Tailscale.
This snap provides a simple and secure way to run your own DERP servers to route your tailscale traffic through your own relay servers.

Please refer to the upstream documentation for more information:

* <https://tailscale.com/kb/1118/custom-derp-servers>
* <https://tailscale.com/kb/1232/derp-servers>
* <https://github.com/tailscale/tailscale/blob/main/cmd/derper/README.md>

**Usage**

Install the snap:

```
sudo snap install derper
```

This installs the DERP server and starts it automatically.
You will likely need to configure the service:

**Configuration**

You can modify configuration options with `sudo snap set`. The following configuration options are currently supported:

* `hostname`: LetsEncrypt host name, if addr's (`a`) port is :443. (default if unset: "derp.tailscale.com")
* `a`: server HTTP/HTTPS listen address, in form ":port", "ip:port", or for IPv6 "[ip]:port". If the IP is omitted, it defaults to all interfaces. Serves HTTPS if the port is 443 and/or certmode is manual (default certmode is "letsencrypt"), otherwise HTTP. (default if unset: ":443")
* `stun-port`: The UDP port on which to serve STUN. The listener is bound to the same IP (if any) as specified in the `a` option. (default if unset: "3478")
* `verify-clients`: Verify clients to this DERP server through a local tailscaled instance. Must be "true" or "false". (default if unset: "false")

The config options correspond to the similarly named command line flags for `derper`.

Options that don't have support to be configured through the snap will be left on their default.
See the `derper` command source code at <https://github.com/tailscale/tailscale/tree/main/cmd/derper> for more technical information on options.

Example of setting an option:

```
sudo snap set derper hostname=myderper.mydomain.com
```

To view the available config options and their current values:

```
$ sudo snap get derper
Key             Value
hostname
a               127.0.0.1:443
verify-clients  false
...
```

Derper must be restarted manually for the changed config to take affect:

```
sudo snap restart derper
```

To run in `verify-clients` mode, the tailscale snap must also be installed,
and the two snaps connected over the custom content interface so the control socket is shared:

```
sudo snap install derper
sudo snap install tailscale
sudo snap connect derper:tailscale-socket tailscale:socket
sudo snap set derper verify-clients=true
sudo snap restart derper
```

**Security**

See <https://github.com/canonical/derper-snap/blob/main/docs/security-reference.md>
for security and hardening documentation.

This snap is maintained by Canonical, and is not necessarily endorsed or officially maintained by the upstream developers.

### Package name

* derper

---

### License

* BSD-3-Clause

---

### Last updated

* 9 September 2026 - latest/stable
* 9 September 2026 - latest/candidate

---

### Websites

* [tailscale.com](https://tailscale.com/kb/1118/custom-derp-servers "https://tailscale.com/kb/1118/custom-derp-servers")

---

### Contact

* [solutions-engineering@lists.canonical.com](mailto:solutions-engineering@lists.canonical.com "mailto:solutions-engineering@lists.canonical.com")

---

### Source code

* [github.com/canonical/derper-snap](https://github.com/canonical/derper-snap "https://github.com/canonical/derper-snap")

---

### Report a bug

* [github.com/canonical/derper-snap/issues](https://github.com/canonical/derper-snap/issues "https://github.com/canonical/derper-snap/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/install/derper/centos#report-snap-modal)

---

## Enable snaps on CentOS and install DERP Server for Tailscale

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the [Snap Store](https://snapcraft.io/store), an app store with an audience of millions.

### Enable snapd

Snap is available for [CentOS 7.6+](https://snapcraft.io/install/derper/centos), and Red Hat Enterprise Linux 7.6+, from the [Extra Packages for Enterprise Linux](https://fedoraproject.org/wiki/EPEL) (EPEL) repository. The EPEL repository can be added to your system with the following command:

```
sudo yum install epel-release
```

Snap can now be installed as follows:

```
sudo yum install snapd
```

Once installed, the *systemd* unit that manages the main snap communication socket needs to be enabled:

```
sudo systemctl enable --now snapd.socket
```

To enable *classic* snap support, enter the following to create a symbolic link between `/var/lib/snapd/snap` and `/snap`:

```
sudo ln -s /var/lib/snapd/snap /snap
```

Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.

### Install DERP Server for Tailscale

To install DERP Server for Tailscale, simply use the following command:

```
sudo snap install derper
```

### Other popular snaps…

[See more...](https://snapcraft.io/search?categories=featured)

[See more in Featured](https://snapcraft.io/search?categories=featured)

### More things to do…

#### [Get the snap store](https://snapcraft.io/snap-store)

Browse and find snaps from the convenience of your desktop using the snap store snap.

#### [Learn more about snaps](https://snapcraft.io/docs)

Interested to find out more about snaps? Want to publish your own application? Visit [snapcraft.io](https://snapcraft.io/) now.

[Back to top](https://snapcraft.io/install/derper/centos)

© 2026 Canonical Ltd.
Ubuntu and Canonical are registered trademarks of Canonical Ltd.

Powered by [Charmed Kubernetes](https://www.ubuntu.com/kubernetes)

[Join the forum](https://forum.snapcraft.io/), contribute to or report problems with,
[snapd](https://bugs.launchpad.net/snapd),
[Snapcraft](https://bugs.launchpad.net/snapcraft),
or [this site](https://github.com/canonical/snapcraft.io/issues/new).

* [Share on Twitter](https://twitter.com/snapcraftio)
* [Share on Facebook](https://www.facebook.com/snapcraftio)
* [Share on YouTube](https://www.youtube.com/snapcraftio)

* [Terms of Service](https://ubuntu.com/legal/terms-and-policies/snap-store-terms)
* [Data privacy](https://www.ubuntu.com/legal/data-privacy)
* [Manage your tracker settings](https://snapcraft.io/install/derper/centos)
* [Service status](https://status.snapcraft.io/)
* [Other functions](https://dashboard.snapcraft.io/)
* [Contact us](https://snapcraft.io/about/contact-us)
