# OpenWrt 發送syslog到遠端伺服器

##### **運行環境**

- **OpenWrt 23.05**

##### **外部Log Server設定**  


**設定外部伺服器IP和PORT**

[![image.png](https://note.homesitetw.com/uploads/images/gallery/2025-10/scaled-1680-/ZH5image.png)](https://note.homesitetw.com/uploads/images/gallery/2025-10/ZH5image.png)

**重啟log服務**

```
service log restart
```

##### **測試**

**使用Synology日誌接收，確認有OpenWrt的log**

[![image.png](https://note.homesitetw.com/uploads/images/gallery/2025-10/scaled-1680-/mwBimage.png)](https://note.homesitetw.com/uploads/images/gallery/2025-10/mwBimage.png)