wactuary wrote: 
> OK, partially solved and good enough for now!  I have not yet been able
> to get this to work on just the LMS server box, but I have another
> Ubuntu box that is usually on and was not hosting any web services. 
> Maybe I'll fire up a spare rpi as something lower powered so I don't
> need to keep this other box fired up unnecessarily.  Anyway, solutions
> was as follows:
> 
> 1) install tinyproxy
> 2) update the conf file to listen on port 80, ReverseOnly Yes, and
> ReversePath "/" "http://lmsIP:9000";
> 
> Now as long as the other box is up and running, then calls to port 80 on
> that machine proxies to port 9000 on the LMS machine.  I've tested and
> this is working.   
> 
> I tried this with a virtual network device on the LMS server, but when
> doing that, everything on the new IP seemed to be automatically map to
> the original IP.  So even without the proxy running, a call to NewIP
> appeared like a call to OldIP to any outside machine.  So I couldn't
> start tinyproxy because there was already something bound to NewIP:80. 
> If I could figure out how to open a virtual network device and NOT have
> it automatically link to the OldIP, I think this could be done on the
> single machine.  I created the new virtual network with "ifconfig eno1:0
> NewIP".  Perhaps I should create the virtual device in some other
> manner?
> 
> Thanks for helping me think through this and getting me pointed in the
> right directions.

It’s easy to run Apache & LMS on the same machine and have Apache
reverse proxy LMS so that :9000 is never visible but you are not really
explaining why you want to do it. Is this actually an attempt to access
LMS remotely? If so it’s not secure doing it this way.



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* Joggler & Pi4/Khadas  -> Onkyo TXNR686 -> Celestion F20s

*Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s 
*Dining Room* SB Boom 
*Kitchen* UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s +
Kef ceiling speakers
*Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes
Everything controlled by iPeng & Material on iOS
------------------------------------------------------------------------
d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=113639

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to