mirror of https://github.com/pikvm/pikvm.git
				
				
				
			fix: update cloudflared steps to ensure its persistent between reboots (#1320)
Co-authored-by: horsepill <horsepill@horsepill.lan>
This commit is contained in:
		
							parent
							
								
									63c3905a79
								
							
						
					
					
						commit
						d25b80e2bf
					
				|  | @ -39,21 +39,36 @@ | ||||||
|     # cloudflared version |     # 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 |     # sudo cloudflared service install SERVICE_TOKEN_HERE | ||||||
|     ``` |     ``` | ||||||
| 
 | 
 | ||||||
|  | 4. Ensure cloudflared service is enabled so it starts on boot. | ||||||
| 
 | 
 | ||||||
| 3. Open a web browser and attempt to connect |     ``` | ||||||
|  |     # sudo systemctl enable cloudflared | ||||||
|  |     ``` | ||||||
| 
 | 
 | ||||||
| 4. Drop back in to read only mode | 5. Open a web browser and attempt to connect to your tunnel. | ||||||
|  | 
 | ||||||
|  | 6. Drop back in to read only mode | ||||||
|     |     | ||||||
|     ``` |     ``` | ||||||
|     # ro |     # ro | ||||||
|     ``` |     ``` | ||||||
| 
 | 
 | ||||||
|  | 7. Reboot pikvm and ensure your tunnel comes back up.  This may take a few minutes.  | ||||||
|  | 
 | ||||||
| ## Updating Cloudflared | ## Updating Cloudflared | ||||||
| 
 | 
 | ||||||
| Use these commands to update Cloudflared: | Use these commands to update Cloudflared: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue