Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
How to use UPNP on a bridge interface?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to use UPNP on a bridge interface? (Read 1419 times)
qwertypro
Newbie
Posts: 7
Karma: 0
How to use UPNP on a bridge interface?
«
on:
March 03, 2023, 02:10:25 pm »
Hello Gents!
I would like to ask some help, because my configuration is not working.
I connected two interfaces with a bridge. igb0, igb1 -> bridge0
I set the two advanced options, as the manual said.
net.link.bridge.pfil_member 0
et.link.bridge.pfil_bridge 1
I have the outbound NAT rule for the application port.
I start the UPNP service on the bridge0 interface.
When I run an application from igb1, it can't register themself to UPNP service.
What do you think, what's the problem?
Thank you for help!
Have a nice weekend!
Logged
Patrick M. Hausen
Hero Member
Posts: 6853
Karma: 575
Re: How to use UPNP on a bridge interface?
«
Reply #1 on:
March 03, 2023, 02:28:33 pm »
And you have assigned the bridge interface to LAN or OPT1 or similar?
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
qwertypro
Newbie
Posts: 7
Karma: 0
Re: How to use UPNP on a bridge interface?
«
Reply #2 on:
March 03, 2023, 03:42:57 pm »
The detailed setup is:
igb0 - assigned
igb1 (lan) - assigned, enabled
igb0_vlan10 - assigned, enabled
igb1_vlan10 - assigned, enabled
bridge0 (igb0_vlan10 + igb1_vlan10) - assigned, enabled, static IP with DHCP enabled
When I'm connected the network, I got IP address via DHCP.
The application couldn't register themself to UPNP.
Logged
Patrick M. Hausen
Hero Member
Posts: 6853
Karma: 575
Re: How to use UPNP on a bridge interface?
«
Reply #3 on:
March 03, 2023, 03:49:42 pm »
Firewall rules for UPnP in place?
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
qwertypro
Newbie
Posts: 7
Karma: 0
Re: How to use UPNP on a bridge interface?
«
Reply #4 on:
March 03, 2023, 06:23:58 pm »
Not yet. I don't see any blocked connection.
What kind of rule do you recommend? UDP 1900?
Logged
Patrick M. Hausen
Hero Member
Posts: 6853
Karma: 575
Re: How to use UPNP on a bridge interface?
«
Reply #5 on:
March 03, 2023, 06:44:54 pm »
I don't know - I don't use UPnP for security reasons. Just trying to help by checking the stack from the bottom up. Your interface looks good. For the UPnP there should be documentation about the firewall rules needed.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
qwertypro
Newbie
Posts: 7
Karma: 0
Re: How to use UPNP on a bridge interface?
«
Reply #6 on:
March 04, 2023, 06:26:42 pm »
SOLVED!
We can find the miniupnp debug logs at System - Routes - Log File menu, but I don't see any interesting log.
I did a packet capture on the interface and I see the packets reaching the bridge0 interface.
I'm trying to figure out why the packet weren't processed and I find a misconfigured firewall rule on the interface...
Thank You pmhausen
for the questions and for spend time on my problem!
Have a nice weekend!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
How to use UPNP on a bridge interface?