5 Lab 2: Relaying

Configuring a relay server

  1. Select a non-local (maybe another lab’s host) Icecast (master) server, available from your host.
  2. Configure the server:
    1. Replace <!--<master-server>127.0.0.1</master-server>--> with <master-server>the-selected-master/relay-server</master-server>.
    2. Replace <!--<master-server-port>8001</master-server-port>--> with <master-server-port>8000</master-server-port>.
    3. Replace <!--<master-update-interval>120</master-update-interval>--> with <master-update-interval>120</master-update-interval>.
    4. Replace <!--<master-password></master-password>--> with <master-password>3edc</master-password>.
    5. Replace <sources>2</sources> with <sources>at-least-the-number-of-mountpoints-at-master-server</sources>.
  3. Reload the configuration file:
     
    # Windows:  
    # Close the "Run Icecat (Console)" window and re-run it.  
     
    # Ubuntu:  
    sudo service icecast2 restart  
     
    # Arch:  
    sudo systemctl restart icecast