View previous topic :: View next topic |
Author |
Message |
ItachiSan
Joined: 09 May 2014 Posts: 3
|
Posted: Fri May 09, 2014 5:01 pm Post subject: [SOLVED- ArchLinux] Error in network discovery -> UFW?!? |
|
|
Hello,
I'm trying to get upnpc to work but actually it doesn't...
I think that 2 stuff can cause the problem:
- having no minisspd running (dunno if miniupnpc does send sspd packets without it)
- interfaces are changed some time ago (I suppose this is the problem)
I wrote it here as I annoyed kinda all the Arch community with it ;P
Also, how is the -m flag meant to be used?
Because I tried
But it does not work D:
Last edited by ItachiSan on Mon May 26, 2014 5:01 pm; edited 1 time in total |
|
Back to top |
|
 |
ItachiSan
Joined: 09 May 2014 Posts: 3
|
Posted: Fri May 09, 2014 5:10 pm Post subject: |
|
|
After disabling the firewall it does work...
Had to check the interface a few times!
What port does upnpc use? And... is there a way to load default interface from ifconfig? |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1594
|
Posted: Mon May 12, 2014 10:15 pm Post subject: |
|
|
SSDP (UPnP discovery) uses UDP on port 1900.
what do you mean by "is there a way to load default interface from ifconfig" ?
If you don't use -m option, default interface will be used. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
ItachiSan
Joined: 09 May 2014 Posts: 3
|
Posted: Mon May 26, 2014 5:00 pm Post subject: |
|
|
I'm glad to inform you that I'm a derp.
I had to enable any kind of traffic in UFW for my LAN in order to have it working fine... and now it works
To be exact, I had to:
Code: | ufw allow from 192.168.0.0/24 |
Problem solved  |
|
Back to top |
|
 |
ClashTheBunny
Joined: 09 Jun 2014 Posts: 1 Location: Bulgaria
|
Posted: Mon Jun 09, 2014 10:09 am Post subject: That may be dangerous... |
|
|
ItachiSan wrote: | I'm glad to inform you that I'm a derp.
I had to enable any kind of traffic in UFW for my LAN in order to have it working fine... and now it works
To be exact, I had to:
Code: | ufw allow from 192.168.0.0/24 |
Problem solved  |
A more exact rule would be to allow any incoming traffic on port 1900 with a protocol of UDP originating from my network:
Code: | sudo ufw allow from 192.168.0.0/24 port 1900 proto udp to any |
If there were exploits in your router or something, you may save yourself from revealing all of your network information. |
|
Back to top |
|
 |
ndhar
Joined: 02 Mar 2015 Posts: 2 Location: Indonesia
|
Posted: Wed Mar 04, 2015 8:09 am Post subject: Re: [SOLVED- ArchLinux] Error in network discovery -> UFW |
|
|
ItachiSan wrote: | Hello,
I'm trying to get upnpc to work but actually it doesn't...
I think that 2 stuff can cause the problem:
- having no minisspd running (dunno if miniupnpc does send sspd packets without it)
- interfaces are changed some time ago (I suppose this is the problem)
I wrote it here as I annoyed kinda all the Arch community with it ;P
Also, how is the -m flag meant to be used?
Because I tried
But it does not work D: |
excuse me sir, i just another question
what do you mean of "wlp2s0"?? |
|
Back to top |
|
 |
|