I setup Mediatomb on another box in my house to connect to with XBMC. XBMC will only connect though if the firewall is off on the local machine. I have both TCP and UCP ports 1900 and 50500 (the port for Mediatomb) enabled on my laptop (local) and the correct ports are open on the remote machine (my wife’s vista laptop will connect through XBMC). I can connect to Mediatomb through it’s web interface (to set visible folders/files) but not through UPnP (at least not through XBMC).
Is there a good resource for understanding SuSE’s firewall zones? Right now only the external zone is protected.
Well I guess I should probably include some system details…
Opensuse 11.3 32bit remote machine (I say remote but it’s just across the room… )
Opensuse 11.3 64bit local machine
Laptop (local) is a Dell Vostro with Broadcom43xx wireless
Remote machine has a static IP while local is dynamic.
I’ve also seen a couple of posts which suggest multicasting not working properly could be the issue.
My hosts.conf has “multi on” set, and ifconfig gives me:
On Sat January 15 2011 07:06 pm, killsforpie wrote:
>
> I setup Mediatomb on another box in my house to connect to with XBMC.
> XBMC will only connect though if the firewall is off on the local
> machine. I have both TCP and UCP ports 1900 and 50500 (the port for
> Mediatomb) enabled on my laptop (local) and the correct ports are open
> on the remote machine (my wife’s vista laptop will connect through
> XBMC). I can connect to Mediatomb through it’s web interface (to set
> visible folders/files) but not through UPnP (at least not through XBMC).
>
>
> Is there a good resource for understanding SuSE’s firewall zones? Right
> now only the external zone is protected.
>
> Thanks!
>
>
killsforpie;
Unless you specify otherwise it looks like mediatomb will pick any available
port above 49152. Have you specified a port? If you Google “mediatomb port”
you will find a number of suggestions and explanations. I’ve never tried
mediatomb and am no expert.
It is possible to allow traffic through the high ports of SuSEfirewall2, but
not recommended. I don’t think you can any longer do this with the YaST
firewall module, but you can do it manually as follows:
YaST -> System -> /etc/syscongig Editor -> Expand network, firewall,
SuSEfirewall2 -> select FW_ALLOW_INCOMING_HIGHPORTS_[TCP,UDP]
There is a big risk just opening hight ports, particularly if you are not
behind a NAT router.
–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
I have read the documentation and set the Mediatomb port manually with a command line option to 50500. This is confirmed by looking at the logs. Is there a way for me to monitor what ports XBMC is trying to open and see if there’s another one I need to unblock? I’d rather not simply allow high ports even though I am behind a NAT router.
I’ve also discovered that if I restart Mediatomb with XBMC open that XBMC can then make the connection. But if I close XBMC and try again, it can’t.
Now the destination is 5534 so I’m guessing there isn’t a specific pattern. I suppose at this point I need to head to the XBMC or Mediatomb forums and figure out why it’s picking these seemingly random ports…
On Sun January 16 2011 02:06 pm, killsforpie wrote:
>
> One last thing: if I let XBMC sit long enough eventually it connects.
>
>
killsforpie;
What is 192.168.1.1 assigned to. Normally one would expect the router. Could
you have XBMC also using 192.168.1.1? It might help if you posted the
results of:
/sbin/route -n
–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
Using gupnp-universal-cp the UPnP server takes awhile to come up as well. This makes me think it’s not XBMC, and the fact that it works on my wife’s vista laptop with XBMC makes me think it’s not Mediatomb. Any other suggestions for me to try?
I found it most useful within my trusted network to simply open up to all network traffic from the uPnP device’s IP address, rather than fight with which ports to open to every device