fix: update cloudflared steps to ensure its persistent between reboots (#1320)

Co-authored-by: horsepill <horsepill@horsepill.lan>
pull/1323/head
Tavis 2 weeks ago committed by GitHub
parent 63c3905a79
commit d25b80e2bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -38,22 +38,37 @@
# chmod +x /usr/local/bin/cloudflared
# cloudflared version
```
2. Install the Cloudflare tunnel service to Cloudflared:
2. Update /etc/systemd/resolved.conf and set cloudflare nameservers.
```
# sudo vim /etc/systemd/resolved.conf
# Uncomment DNS line and set 'DNS=1.1.1.1 1.0.0.1'
# systemctl restart systemd-resolved
```
3. Install the Cloudflare tunnel service to Cloudflared.
```
# sudo cloudflared service install SERVICE_TOKEN_HERE
```
3. Open a web browser and attempt to connect
4. Ensure cloudflared service is enabled so it starts on boot.
```
# sudo systemctl enable cloudflared
```
5. Open a web browser and attempt to connect to your tunnel.
4. Drop back in to read only mode
6. Drop back in to read only mode
```
# ro
```
7. Reboot pikvm and ensure your tunnel comes back up. This may take a few minutes.
## Updating Cloudflared
Use these commands to update Cloudflared:

Loading…
Cancel
Save