miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[SOLVED- ArchLinux] Error in network discovery -> UFW?!?

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation
View previous topic :: View next topic  
Author Message
ItachiSan



Joined: 09 May 2014
Posts: 3

PostPosted: Fri May 09, 2014 5:01 pm    Post subject: [SOLVED- ArchLinux] Error in network discovery -> UFW?!? Reply with quote

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
Code:
upnpc -s -m wlp3s0

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
View user's profile Send private message
ItachiSan



Joined: 09 May 2014
Posts: 3

PostPosted: Fri May 09, 2014 5:10 pm    Post subject: Reply with quote

After disabling the firewall it does work...
Had to check the interface a few times! Razz
What port does upnpc use? And... is there a way to load default interface from ifconfig?
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Mon May 12, 2014 10:15 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
ItachiSan



Joined: 09 May 2014
Posts: 3

PostPosted: Mon May 26, 2014 5:00 pm    Post subject: Reply with quote

I'm glad to inform you that I'm a derp. Razz
I had to enable any kind of traffic in UFW for my LAN in order to have it working fine... and now it works Smile
To be exact, I had to:
Code:
ufw allow from 192.168.0.0/24

Problem solved Wink
Back to top
View user's profile Send private message
ClashTheBunny



Joined: 09 Jun 2014
Posts: 1
Location: Bulgaria

PostPosted: Mon Jun 09, 2014 10:09 am    Post subject: That may be dangerous... Reply with quote

ItachiSan wrote:
I'm glad to inform you that I'm a derp. Razz
I had to enable any kind of traffic in UFW for my LAN in order to have it working fine... and now it works Smile
To be exact, I had to:
Code:
ufw allow from 192.168.0.0/24

Problem solved Wink


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
View user's profile Send private message
ndhar



Joined: 02 Mar 2015
Posts: 2
Location: Indonesia

PostPosted: Wed Mar 04, 2015 8:09 am    Post subject: Re: [SOLVED- ArchLinux] Error in network discovery -> UFW Reply with quote

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
Code:
upnpc -s -m wlp3s0

But it does not work D:


excuse me sir, i just another question
what do you mean of "wlp2s0"??
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.