MinimServer Forum

Full Version: MinimWatch on Linux - Listen on interface
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi

i am trying to use minimwatch on linux to access a minimserver which is on a openvpn bridged network. as far as i can see, minimwatch is only listening on the primary network interface (eth0) and not on the tap0 device of the vpn. shouldn't minimwatch listen on ALL network interfaces that it finds?

greets
KoS

Code:
sudo netstat -nlptu |grep java
tcp        0      0 192.168.53.96:32945     0.0.0.0:*               LISTEN      7079/java      
udp        0      0 192.168.53.96:38629     0.0.0.0:*                           7079/java      
udp        0      0 239.255.255.250:1900    0.0.0.0:*                           7079/java      
udp        0      0 192.168.53.96:58290     0.0.0.0:*                           7079/java      
udp        0      0 192.168.53.96:43958     0.0.0.0:*                           7079/java
(14-05-2013 13:12)KoS Wrote: [ -> ]hi

i am trying to use minimwatch on linux to access a minimserver which is on a openvpn bridged network. as far as i can see, minimwatch is only listening on the primary network interface (eth0) and not on the tap0 device of the vpn. shouldn't minimwatch listen on ALL network interfaces that it finds?

greets
KoS

This is a limitation of ohNet. An ohNet control point can only listen on a single interface. At present, the only workaround is to run two instances of MinimWatch and select the listener interface for each MinimWatch instance by setting the ohnet.subnet property in the minimwatch.config file.
Thanks a lot. i'll test it. i didn't know about the "ohnet.subnet" property.
(17-05-2013 15:19)KoS Wrote: [ -> ]Thanks a lot. i'll test it. i didn't know about the "ohnet.subnet" property.

SSDP discovery is not supported by most VPNs.
(17-05-2013 16:14)bubbleguuum Wrote: [ -> ]
(17-05-2013 15:19)KoS Wrote: [ -> ]Thanks a lot. i'll test it. i didn't know about the "ohnet.subnet" property.
SSDP discovery is not supported by most VPNs.
i use the tap/bridge feature of openvpn, which means that i even get all the broadcast traffic from the remote network :-)
and yes, with the ohnet.subnet setting the minimwatch sees the remote minimserver. (it would be great if i could specify an interface, e.g. tap0, instead of a subnet that changes depending on which network i connect)
(17-05-2013 15:19)KoS Wrote: [ -> ]Thanks a lot. i'll test it. i didn't know about the "ohnet.subnet" property.

This property is documented for MinimServer, but not (currently) for MinimWatch. To set this property for MinimWatch, you need to edit the minimwatch.config file and add the following line:

ohnet.subnet = x.x.x.x
(17-05-2013 16:41)KoS Wrote: [ -> ](it would be great if i could specify an interface, e.g. tap0, instead of a subnet that changes depending on which network i connect)

It might be possible to add support for this. I'll do some investigation.
Reference URL's