miniupnpd/miniupnpd.8: update man page

This commit is contained in:
yangfl 2018-02-03 01:46:09 +08:00
parent 5ca7e99fde
commit 3158862058
1 changed files with 38 additions and 25 deletions

View File

@ -3,12 +3,12 @@
miniupnpd \- UPnP Internet Gateway Device Daemon miniupnpd \- UPnP Internet Gateway Device Daemon
.SH SYNOPSIS .SH SYNOPSIS
.B miniupnpd .B miniupnpd
[\-f file] [\-i interface] [\-o address] .RB [ "\-f \fIconfig_file" "] [" "\-i \fIext_ifname" "] [" "\-o \fIext_ip" ]
[\-a address] [\-p port] [\-d] [\-L] [\-U] .RB [ "\-a \fIlistening_ip" "] [" "\-p \fIport" "] [" \-d "] [" \-U "] [" \-S "] [" \-N ]
[\-u uuid] [\-s serial] [\-m model_number] .RB [ "\-u \fIuuid" "] [" "\-s \fIserial" "] [" "\-m \fImodel_number" ]
[\-q queue] .RB [ "\-t \fInotify_interval" "] [" "\-P \fIpid_filename" ]
[\-t interval] [\-P file] .RB [ "\-B \fIdown up" "] [" "\-w \fIurl" "] [" "\-r \fIclean_ruleset_interval" ]
[\-B down up] [\-w url] .RB [ "\-A \fIpermission rule" "] [" "\-b \fIBOOTID" ]
.SH DESCRIPTION .SH DESCRIPTION
miniupnpd act as a UPnP Internet Gateway Device. It is designed miniupnpd act as a UPnP Internet Gateway Device. It is designed
to run on the gateway between the internet and a NAT'ed LAN. It provides to run on the gateway between the internet and a NAT'ed LAN. It provides
@ -16,58 +16,71 @@ an interface, as defined in the UPnP standard, for enabling
clients on the LAN to ask for port redirections. clients on the LAN to ask for port redirections.
.SH OPTIONS .SH OPTIONS
.TP .TP
.B \-f file .BI \-f " config_file"
load the config from file. default is /etc/miniupnpd.conf. load the config from file. default is /etc/miniupnpd.conf.
.TP .TP
.B \-i interface .BI \-i " ext_ifname"
interface used to connect to the internet. interface used to connect to the internet.
.TP .TP
.B \-o address .BI \-o " ext_ip"
address used to connect to the internet. address used to connect to the internet.
default address of the interface will be used if not specified. default address of the interface will be used if not specified.
.TP .TP
.B \-a address .BI \-a " listening_ip"
address on the LAN. \-a option can by used multiple time if LAN is address on the LAN. \-a option can by used multiple time if LAN is
subdivised in several subnetworks. subdivised in several subnetworks.
.TP .TP
.B \-p port .BI \-p " port"
port used for HTTP. port used for HTTP.
.TP .TP
.B \-d .B \-d
debug mode : do not go to background, output messages on console debug mode : do not go to background, output messages on console
and do not filter out low priority messages. and do not filter out low priority messages.
.TP .TP
.B \-L
set packet log in pf on
.TP
.B \-q queue
set ALTQ queue in pf. filter rules must be enabled for this option
to have any effect.
.TP
.B \-U .B \-U
report system uptime instead of daemon uptime to clients. report system uptime instead of daemon uptime to clients.
.TP .TP
.B \-u uuid .B \-S
sets "secure" mode : clients can only add mappings to their own ip
.TP
.B \-N
enables NAT-PMP functionality.
.TP
.BI \-u " uuid"
set the uuid of the UPnP Internet Gateway Device. set the uuid of the UPnP Internet Gateway Device.
.TP .TP
.B \-s serial .BI \-s " serial"
serial number for the UPnP Internet Gateway Device. serial number for the UPnP Internet Gateway Device.
.TP .TP
.B \-m number .BI \-m " model_number"
model number for the UPnP Internet Gateway Device. model number for the UPnP Internet Gateway Device.
.TP .TP
.B \-t interval .BI \-t " notify_interval"
SSDP notify interval in seconds : SSDP notify interval in seconds :
SSDP announce messages will be broadcasted at this interval. SSDP announce messages will be broadcasted at this interval.
.TP .TP
.B \-P file .BI \-P " pid_filename"
pid file. default is /var/run/miniupnpd.pid pid file. default is /var/run/miniupnpd.pid
.TP .TP
.B \-B down up .BI \-B " down up"
download and upload bitrates reported to clients. download and upload bitrates reported to clients.
.TP .TP
.B \-w url .BI \-w " url"
presentation url. default is first address on LAN, port 80. presentation url. default is first address on LAN, port 80.
.TP
.BI \-r " clean_ruleset_interval"
(minimum) interval between unused rules cleaning checks.
.TP
.BI \-A " permission rule"
use following syntax for permission rules :
(allow|deny) (external port range) ip/mask (internal port range)
.br
examples :
"allow 1024-65535 192.168.1.0/24 1024-65535"
"deny 0-65535 0.0.0.0/0 0-65535"
.TP
.BI \-b " BOOTID"
sets the value of BOOTID.UPNP.ORG SSDP header
.SH "SEE ALSO" .SH "SEE ALSO"
minissdpd(1) miniupnpc(3) minissdpd(1) miniupnpc(3)
.SH BUGS .SH BUGS