mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-10 14:16:02 +00:00
0b3f3e4029
Right now the table names are hardcoded and do not integrate with an overall firewall strategy. NFTables has restrictions on how packets are evaluated against chains. For example if multiple forward chains are evaluated with different prioity, all packets that pass the first one will be reevaluated again in the second chain. To have an overall firewall concept with miniupnpd it is necessary to use existing tables and hence to configure them in miniupnpd. Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de>
Miniupnpd nftables support by Tomofumi Hayashi (s1061123@gmail.com).
##Current Status nftables support is 'alpha' version, not "so much" stable.
##Supported Features
- IPv4 NAT/Filter add/del.
##How to build miniupnpd with nftables: Run 'make' command with 'Makefile.linux_nft',
make -f Makefile.linux_nft
##How to Run Please run 'netfilter_nft/scripts/nft_init.sh' to add miniupnpd chain.
sudo ./netfilter_nft/scripts/nft_init.sh
##FAQ I will add this section when I get question. Comments and Questions are welcome ;)