Skip to content

Commit

Permalink
cap_net_raw optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ranbel committed Jan 2, 2025
1 parent 8065384 commit aef5724
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ The steps for getting diagnostic logs depend on your `cloudflared` deployment en

These instructions apply to remotely-managed and locally-managed tunnels running directly on the host machine.

1. (Linux only) Allow the `cloudflared` user to create RAW and PACKET sockets without root permissions:
1. (Linux only) To include network diagnostics in the logs, allow the `cloudflared` user to create RAW and PACKET sockets without root permissions:

```sh
sudo setcap cap_net_raw+ep /usr/bin/traceroute && sudo setcap cap_net_raw+ep /usr/bin/traceroute
```

If you do not set `cap_net_raw`, then traceroute data will be unavailable.

2. Get diagnostic logs:

```sh
Expand Down

0 comments on commit aef5724

Please sign in to comment.