February 15, 201610 yr Community Expert The most important thing you have gotten wrong with your solution is putting your server on the internet. You will be hacked.
February 15, 201610 yr I ended up finding the solution on a router support forum where someone having the same problem stated his solution was to put the IP address for his server in the DMZ on his router. This worked! So for some reason my modem would not push the traffic through port 4040 even though I had it set to forward it, but by putting my server IP outside the modem's router in the DMZ it opened things up. I suppose this is less secure, but my router in theory should stop all unwanted incoming requests. The DMZ explicitly tells your router to allow ALL incoming requests, so no, your router will NOT stop unwanted incoming requests. You need to take the router IP out of the DMZ NOW.
February 15, 201610 yr Author I ended up finding the solution on a router support forum where someone having the same problem stated his solution was to put the IP address for his server in the DMZ on his router. This worked! So for some reason my modem would not push the traffic through port 4040 even though I had it set to forward it, but by putting my server IP outside the modem's router in the DMZ it opened things up. I suppose this is less secure, but my router in theory should stop all unwanted incoming requests. The DMZ explicitly tells your router to allow ALL incoming requests, so no, your router will NOT stop unwanted incoming requests. You need to take the router IP out of the DMZ NOW. Sorry I made a typo. I put the router IP in the DMZ on the modem, not the server IP in the DMZ. The router firewall is still in place, and only allowing the one port to forward to the server. The most important thing you have gotten wrong with your solution is putting your server on the internet. You will be hacked. Typo as listed above, but yes the one port is open. This is how Subsonic says to do it. I know there are more advanced ways including using a VPN, but I can't access a VPN at work, and the entire point of this project is to play my music collection at work.
February 15, 201610 yr You were in a double NAT scenario, by placing your router in the DMZ you removed one NAT. It would be beneficial to figure out how to put your modem in bridge mode and let your router handle the NAT/firewall. Other than that enjoy Subsonic. If you go premium you can stream to your phone and other devices using the API. I use DSub for Android. A service like duckdns.org (free) will allow you to access your server without worrying about your IP changing with your ISP.
February 15, 201610 yr Community Expert ... I put the router IP in the DMZ on the modem, not the server IP in the DMZ. The router firewall is still in place... OK. That's the way I have mine. Now you just need to learn to use dockers.
February 16, 201610 yr Author Thanks again guys. I will look in to bridge mode on the modem, and I will also look at how to use dockers at some point in the near future. For now I'm just glad it is working. I was streaming music at work all day today, and loving every minute of it! As for the Subsonic premium subscription yes I will definitely be doing that now that I've had a chance to test it out. I just have to decide if I want to go month to month, pay a full year in advance, or go all in with the lifetime subscription. One other question I was hoping you could answer for me though. Any idea what the correct path is to use for the music share path if I wanted to use the "share path" instead of the "drive path". For now it is fine since I confined the share to just use disk1, but for information purposes it would be good to know how I would list it if in the future I choose to expand the share on to multiple drives. Realistically I don't think I'd ever need to since music doesn't take up that much space, but hey you never know.
February 16, 201610 yr Any idea what the correct path is to use for the music share path if I wanted to use the "share path" instead of the "drive path". /mnt/user/sharename
February 16, 201610 yr Author /mnt/user/sharename Thanks Squid. Tested, and working. I feel kind of dumb now, but I was putting /mnt/sharename, not /mnt/user/sharename. I guess I was having a brain fart or something.
Archived
This topic is now archived and is closed to further replies.