Package Details: miniupnpd-nft-git 2.3.9.r64.g51ba388-1

Git Clone URL: https://aur.archlinux.org/miniupnpd-nft-git.git (read-only, click to copy)
Package Base: miniupnpd-nft-git
Description: Lightweight UPnP IGD daemon with nftables support
Upstream URL: https://miniupnp.tuxfamily.org
Licenses: BSD
Conflicts: miniupnpd
Provides: miniupnpd
Submitter: sorz
Maintainer: sorz
Last Packager: sorz
Votes: 5
Popularity: 0.83
First Submitted: 2019-01-18 07:57 (UTC)
Last Updated: 2025-07-23 07:34 (UTC)

Latest Comments

1 2 Next › Last »

sorz commented on 2025-07-23 07:39 (UTC)

@stephen322 Updated, thanks. I also added --systemd and changed to use upstream's systemd service file.

stephen322 commented on 2025-07-23 01:53 (UTC)

Some changes I made locally:

Git relative to miniupnpd tags: git describe --long --tags --match 'miniupnpd*'

Add --vendorcfg config option: ./configure --ipv6 --leasefile --disable-fork --firewall=nftables --vendorcfg

Fix install dir: make DESTDIR="$pkgdir" SBINDIR="/usr/bin" install

konstmonst commented on 2024-07-14 03:46 (UTC)

I had to add 'echo "LDLIBS += -lnftnl -lmnl -luuid" >> config.mk' after ./configure in PKBUILD for it to work

sorz commented on 2024-01-07 17:37 (UTC)

@fsvm88 fixed, thanks.

fsvm88 commented on 2024-01-06 13:13 (UTC)

In order to be able to start the program properly the systemd unit (now?) also requires CAP_SETPCAP in the list of CapabilityBoundingSet= , otherwise dropping/transferring capabilities for the spawned threads will fail with "capng_apply() failed" at start,

sorz commented on 2022-08-18 16:39 (UTC)

@xnor Upstream puts these scripts to /etc/miniupnpd on Makefile.linux_nft. Maybe they are meant to be edit by user?

I'm not sure what's the "right way" to use these scripts. On nft_init.sh, it hard-coded very common chian-names like "forward", "prerouting", install them to the system and set the policy. It is likely conflicting with user's existing nft rules. (They also put "# Add other rules here" on the script.)

xnor commented on 2022-08-18 14:51 (UTC) (edited on 2022-08-18 14:51 (UTC) by xnor)

A couple of issues:

  • The nft shell scripts should be moved to /usr/lib/miniupnpd.
  • The service file executes the nft_init.sh script (ExecStartPre) without the required parameters (see miniupnpd_functions.h), resulting in the default table/chain names being used instead of those in miniupnpd.conf
  • Same issue with nft_flush.sh (ExecStopPost)

sorz commented on 2022-02-06 18:18 (UTC) (edited on 2022-02-06 18:19 (UTC) by sorz)

Since #584 was merged (on 2021-12-02), miniupnpd no longer create nft tables & chains during daemon startup.

I added the scripts which upstream provided for manipulating nft to systemd.service file under ExecStartPre/ExecStopPost. But you may choose modifying your nft config directly rather than relying on these scripts.

lafr4nc3 commented on 2020-05-08 00:41 (UTC) (edited on 2020-05-08 00:43 (UTC) by lafr4nc3)

build with pikaur fails:
==> Starting build()...
Makefile.linux_nft:133: /check.mk: No such file or directory
make: *** No rule to make target '/check.mk'. Stop.
==> ERROR: A failure occurred in build().
Aborting...

sorz commented on 2019-04-17 12:08 (UTC)

@cgx fixed, thanks.