User Tools

Site Tools


ubiquiti:igmp_proxy:sonos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ubiquiti:igmp_proxy:sonos [2022/10/05 16:14] – created peterubiquiti:igmp_proxy:sonos [2022/10/05 16:37] (current) – [Check if the proxy is working] peter
Line 31: Line 31:
 <WRAP info> <WRAP info>
 **NOTE:**  This file is grabbed by the USG every-time it boots and allows you to run advanced features not yet supported by the Unifi GUI. **NOTE:**  This file is grabbed by the USG every-time it boots and allows you to run advanced features not yet supported by the Unifi GUI.
 +
 +  * By default, the **config.gateway.json** file does not exist.  It has to be created in order to use it.
 +  * This config.gateway.json file is placed under the **<unifi_base>/data/sites/site_ID** directory stored on the Controller.
 +    * The location **<unifi_base>** will vary depending on your operating system.
 +    * Often, for the Controller and Linux, it is the **/usr/lib/unifi/data/sites/default/** directory.
 +
 </WRAP> </WRAP>
  
Line 76: Line 82:
   * **upstream** = Main LAN   * **upstream** = Main LAN
  
-  * The **task-scheduer** is to make sure the IGMP-Proxy is running every 5 minutes.+  * The **task-scheduler** is to make sure the IGMP-Proxy is running every 5 minutes.
     * Unifi has a few issues with stopping tasks, and this will correct that.     * Unifi has a few issues with stopping tasks, and this will correct that.
  
Line 85: Line 91:
 ===== Import the config.gateway.json file into the Controller ===== ===== Import the config.gateway.json file into the Controller =====
  
-SSH into the Controller, and import the **config.gateway.json** file into the **/sites/default/** directory.+SSH into the Controller, and import the **config.gateway.json** file into the **/usr/lib/unifi/data/sites/default/** directory. 
 + 
 + 
 +<WRAP info> 
 +**NOTE:** There are various ways to import a file. 
 + 
 +Consider **scp** or sftp: <code bash> 
 +sftp://root@servername/directory 
 +</code> 
 + 
 +  * The **config.gateway.json** file must have **unifi:unifi** as the owner and group permissions. <code bash> 
 +chown unifi:unifi config.gateway.json 
 +</code> 
 + 
 +</WRAP>
  
 ---- ----
Line 129: Line 149:
  
  
 +----
 +
 +===== Troubleshooting =====
 +
 +If issues are seen, you may need to set the "Upstream" subnet as your WAN and the "Downstream" as your LAN; by changing the interface in the configuration.
 +
 +==== Check if the proxy is working ====
 +
 +  * SSH into the Controller.
 +  * View all running services. and run: <code bash>ps -ax</code>
 +
 +<WRAP info>
 +**NOTE:**  This will list the running services.
 +
 +  * In the list look for this service **/sbin/igmpproxy /etc/igmpproxy.conf** that should indicate the service is running in the background.
 +</WRAP>
  
 ---- ----
  
 ===== References ===== ===== References =====
 +
 +https://help.ui.com/hc/en-us/articles/215458888-UniFi-USG-Advanced-Configuration-Using-config-gateway-json
  
 https://www.nathandare.com/projects/igmp-proxy-configuration-with-sonos https://www.nathandare.com/projects/igmp-proxy-configuration-with-sonos
  
ubiquiti/igmp_proxy/sonos.1664986447.txt.gz · Last modified: 2022/10/05 16:14 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki