View previous topic :: View next topic |
Author |
Message |
cjyar
Joined: 23 Oct 2016 Posts: 2
|
Posted: Sun Oct 23, 2016 3:16 pm Post subject: adding nat mappings, but no rules |
|
|
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 |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Tue Oct 25, 2016 8:36 pm Post subject: |
|
|
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 |
|
|
cjyar
Joined: 23 Oct 2016 Posts: 2
|
Posted: Fri Oct 28, 2016 1:36 am Post subject: |
|
|
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 |
|
|
|