Skip to content

Commit aef5724

Browse files
committed
cap_net_raw optional
1 parent 8065384 commit aef5724

File tree

1 file changed

+3
-1
lines changed
  • src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels

1 file changed

+3
-1
lines changed

src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/diag-logs.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@ The steps for getting diagnostic logs depend on your `cloudflared` deployment en
2222

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

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

2727
```sh
2828
sudo setcap cap_net_raw+ep /usr/bin/traceroute && sudo setcap cap_net_raw+ep /usr/bin/traceroute
2929
```
3030

31+
If you do not set `cap_net_raw`, then traceroute data will be unavailable.
32+
3133
2. Get diagnostic logs:
3234

3335
```sh

0 commit comments

Comments
 (0)