Page 1 of 1

bind socket on multiple IP adresses?

Posted: Fri Aug 16, 2013 8:17 am
by OlliL
Hi,

is it possible to have UMS listen on two IP adresses? I'd like to have UMS exposed on my LAN and on my WAN NIC but not on another LAN NIC I also have in the system. "hostname" in UMS.conf seems to allow only a single value. Leaving "hostname" out of the configuration file, UMS will pick up one IP adress randomly it seems.

Greetings

Re: bind socket on multiple IP adresses?

Posted: Thu Aug 22, 2013 10:39 am
by DeFlanko
If you have multiple NICS and you don't want to Team the nics. then i don't think there is a way to do it currently in the app.

Re: bind socket on multiple IP adresses?

Posted: Thu Aug 22, 2013 12:07 pm
by SpeedyQ
If I'm correct I think you have the following possibilities:
-1. One instance of UMS listening on 1 IP address, serviceing multiple clients at the same time (your regular UMS setup I suppose)
-2. Multiple instances of UMS by using separate profiles; so these can be configured to listen on different IP addresses (NICS) on the same machine.
-3. Configure UMS as in -1., but configure your router to forward incoming (WAN) traffic on a certain port to the port and IP where UMS is installed. This should be a setup similar to hosting your own webserver that is accessible by connecting clients of an external network e.g. the internet.