Kodi not accessible via UPnP because of firewall
|
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Mar 19, 2016, 06:26 PM
So I can't access my Kodi library using UPnP because of ConfigServer Security & Firewall. It does work when I turn off CSF so I guess/hope it's just some setting I overlooked. The ip of the device that tries to connect is allowed in CSF.
Anybody an idea which setting I'm overlooking?
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Not Solved]
Mar 19, 2016, 06:50 PM
In Webmin under the Config Server module click the view iptables log button, it should show the port that is being blocked with the library requests. Then just add it to the allow list in tcp in, out or udp in or out depending on the protocol used.
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Mar 19, 2016, 10:17 PM
(This post was last modified: Mar 19, 2016, 10:24 PM by Yveske.)
I can't seem to figure it out. You can see a print of my iptables log here
I tried adding all the ports that Kodi is using together with 1900, 137 and 138. But not getting any luck.
Edit: But I think 137 and 138 are just for Samba
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Not Solved]
Mar 19, 2016, 10:27 PM
I'm assuming the Kodi box is 192.168.1.63, did you try 46147 and 41952?
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Mar 19, 2016, 10:34 PM
(This post was last modified: Mar 19, 2016, 10:49 PM by Yveske.)
Actually not, it's 192.168.1.45.
I have actually no idea what the 192.168.1.63 but the ports it uses keeps changing now for example it is 9878 udp.
And now I think of it is that 192.168.1.4 is my printer.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Not Solved]
Mar 20, 2016, 08:00 AM
I just realized there is an easier way to do this, especially if uPNP keeps changing the port it uses (which is bad for many reasons).
On your Pi with the firewall, add a whitelist entry for the other Kodi devices, this will allow the whitelisted IPs to open and close whatever ports it needs to on the firewalled Pi.
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Mar 20, 2016, 09:51 AM
(This post was last modified: Mar 20, 2016, 10:05 AM by Yveske.)
It seems like every time I add a port it changes to another till a certain point where it stopped, but even with all those ports added it's still not working. Any idea what would cause it? And what to do about it?
The thing with whitelisting is, I have all my devices whitelisted, had to do this from the beginning when I installed CSF to use Yatse remote.
And when I do a netstat on Kodi, I get the same ports I already added in CSF.
Edit: So it stopped changing ports for about 10 minutes and I even was able to get my library over upnp for a minute but then it just started again.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Mar 20, 2016, 01:15 PM
Added all the incoming and outgoing ports that stayed the same.
Code:
192.168.1.45 8250 out 239.255.255.250 1900 UDP
Like this I add 8250 and 1900 to udp.
This for example:
Code:
192.168.1.4 62035 in 239.255.255.250 1900 UDP
Is impossible because it went from port 61719 to port 62035 in 15 minutes, so adding all those is just impossible.
Always adding ports to ipv4 and ipv6.
I think this is nothing but do I need to forward anything on my router? I ask this because Skype automatically port forwards upnp on my router. But can't think this will be a solution cause I'm in a local network.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Mar 20, 2016, 01:34 PM
Yes, I'll be looking into that.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
|
|
Recent Posts
|
About Swap
jonescelinaa Apr 10, 2024, 06:58 AM
|
Tracker Status: Error Connection Time Out
jonesPhedra Apr 04, 2024, 08:17 AM
|
Split Tunnel Docker Containers
jonesPhedra Mar 27, 2024, 03:10 AM
|
Plex server not powerful enough, but only with s...
jonesPhedra Mar 27, 2024, 03:02 AM
|
game Geometry Dash Scratch
jonescelinaa Jan 31, 2024, 04:21 AM
|
Latest unread posts | Unanswered posts |
|