!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

902 Members
Declaratively manage your switching, routing, wireless, tunneling and more.263 Servers

Load older messages


SenderMessageTime
14 Jul 2025
@n4ch723hr3r:nope.chatn4ch723hr3rif you cant you would just have to code up something yourself xD14:37:01
@n4ch723hr3r:nope.chatn4ch723hr3rthats how i would do it at least :314:37:14
@zhaofeng:zhaofeng.liZhaofeng LiHmm wait, so the http stream used by the listener can be proxied right? Is it just the source that's problematic?14:38:02
@n4ch723hr3r:nope.chatn4ch723hr3rthe problem with icecast is that, for whatever reason, it uses the same port for http as it does for raw TCP streams14:38:46
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneIt's the fact that icecast wants to do what nginx is doing yes14:39:03
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneputting an nginx in front of icecast who wants to be in control of all this stuff, makes it a PITA14:39:27
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI don't doubt it can be done, I just don't know how, and it seems like a waste of time14:39:44
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @n4ch723hr3r:nope.chat
the problem with icecast is that, for whatever reason, it uses the same port for http as it does for raw TCP streams
Can the listener use the nginx-proxied endpoint, while the streamer accesses icecast directly over wireguard or whatever
14:40:33
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonethe listener is a http webpage14:40:59
@n4ch723hr3r:nope.chatn4ch723hr3rmatthew wants to have a public webradio, so VPNs, etc. wont work14:41:31
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneyou go to https://foo.com, inside is a html element pointing to https://icecast.foo.com/stream 14:41:39
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone https://icecast.foo.com/stream doesn't work via a nginx proxy, because the stream is not http 14:42:00
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonethis works on the lan though, when not proxied14:42:11
@n4ch723hr3r:nope.chatn4ch723hr3rthe best example domain is example.com or example.org (its an official example domain)14:42:14
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonetoo much typing14:42:27
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneexample.com is more chars14:42:33
@n4ch723hr3r:nope.chatn4ch723hr3rit shoudl also work in public if you dont mind exposing your icecast14:42:40
@n4ch723hr3r:nope.chatn4ch723hr3rlmao14:42:45
@saiko:knifepoint.net@saiko:knifepoint.netcan you set it up so that port 443 goes through nginx, and all the links to the streams on the page (iirc it shows you a directory of available streams right?) have an absolute url with another port on the same domain, which is the raw icecast service14:45:35
@saiko:knifepoint.net@saiko:knifepoint.netor does it only give you relative urls14:45:40
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone For some reason, the streams on the page go to icecast.foo.com and not icecast.foo.com:8000 14:46:50
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone whereas the administration page shows the listenurl correctly and the streams go to `icecast.foo.com:800/stream 14:47:03
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone * whereas the administration page shows the listenurl correctly and the streams go to `icecast.foo.com:800/stream` 14:47:05
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone * whereas the administration page shows the listenurl correctly and the streams go to icecast.foo.com:8000/stream 14:47:11
@n4ch723hr3r:nope.chatn4ch723hr3rprobably some config issue14:47:17
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneCould be yeah14:47:24
@saiko:knifepoint.net@saiko:knifepoint.netyou might need to modify the proxy port header14:47:27
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI've been looking around for examples14:47:31
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI think I'll make a minimal icecast example if I ever figure this14:47:38
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone* I think I'll make a minimal icecast example if I ever figure this ollut14:47:41

Show newer messages


Back to Room ListRoom Version: 6