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 

adding nat mappings, but no rules

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> NAT/UPnP
View previous topic :: View next topic  
Author Message
cjyar



Joined: 23 Oct 2016
Posts: 2

PostPosted: Sun Oct 23, 2016 3:16 pm    Post subject: adding nat mappings, but no rules Reply with quote

Devices on my network are able to add themselves to miniupnpd, and miniupnpd adds NAT rules. But corresponding firewall rules don't get added. What am I doing wrong?

Running miniupnpd-1.9.20160113,1 on FreeBSD 11.0. Pf.conf has both rdr-anchor and anchor lines for miniupnpd. Miniupnpd.conf has enable_natpmp=yes.

When I run "pfctl -a miniupnpd -s nat" I get 6 entries. But when I run "pfctl -a miniupnpd -s rules" I get none. UPNP-IGD clients on my network indicate that it works, but they receive no traffic from outside. (I'm using uTorrent as my main diagnostic tool.)
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Tue Oct 25, 2016 8:36 pm    Post subject: Reply with quote

rdr rules should have the "pass" option, so you should not need the plain pass rules.
Can you show the output of "pfctl -a miniupnpd -s nat" ?

it is possible to change this behaviour using *#define PF_ENABLE_FILTER_RULES in config.h
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
cjyar



Joined: 23 Oct 2016
Posts: 2

PostPosted: Fri Oct 28, 2016 1:36 am    Post subject: Reply with quote

Okay, never mind. You're right, the rdr rules are sufficient. Evidently the FreeBSD torrent was the wrong way to test my UPNP setup. :-/ Downloading the latest Ubuntu works fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> NAT/UPnP 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.