mirror of
https://github.com/status-im/miniupnp.git
synced 2025-02-09 12:53:48 +00:00
miniupnpd/INSTALL: update instructions for linux
It may still be a bit outdated...
This commit is contained in:
parent
c0c35bb86e
commit
5b83bee077
@ -68,11 +68,17 @@ You need to download xnu sources : https://opensource.apple.com/tarballs/xnu/
|
||||
To Build and install :
|
||||
|
||||
- make sure you have libiptc available on your system :
|
||||
if you are using debian, "apt-get install iptables-dev"
|
||||
if you are using debian :
|
||||
> apt-get install iptables-dev
|
||||
or
|
||||
> apt-get install libxtables-dev libiptc-dev
|
||||
Other useful debian packages : libmnl-dev, libnetfilter-conntrack-dev.
|
||||
Some versions of the iptables-dev package don't include the
|
||||
necessary files : read "how to get libiptc with its headers on debian" below.
|
||||
In anycase, libiptc is available in iptables sources packages
|
||||
from http://netfilter.org
|
||||
- You should also have libcap/libcap-ng for privilege dropping.
|
||||
> apt-get install libcap-ng-dev
|
||||
- edit and run netfilter/iptables_init.sh shell script.
|
||||
This script must allways be run before the daemon
|
||||
to set up initial rules and chains.
|
||||
@ -116,6 +122,9 @@ How to get libiptc with its headers on debian :
|
||||
|
||||
install the required development libraries. For debian :
|
||||
> apt-get install libnftnl-dev libmnl-dev
|
||||
Also useful :
|
||||
> apt-get install libnetfilter-conntrack-dev
|
||||
> apt-get install libcap-ng-dev
|
||||
|
||||
To build :
|
||||
> ./configure --firewall=nftables
|
||||
|
Loading…
x
Reference in New Issue
Block a user