portcontrolcd

Crates.ioportcontrolcd
lib.rsportcontrolcd
version0.1.1
sourcesrc
created_at2021-03-17 04:08:31.005851
updated_at2021-03-17 04:14:00.303217
descriptionPCP port mapping client
homepage
repositoryhttps://github.com/ssiloti/portcontrolcd
max_upload_size
id370045
size81,260
Steven Siloti (ssiloti)

documentation

README

portcontrolcd - A PCP client daemon

Portcontrolcd is a Port Control Protocol client intended to open NAT port forwards and firewall pinholes for applications which accept incoming connections but do not themselves support PCP or other port opening protocols.

Configuration

By default configuration paramaters are read from all files named *.conf in ${XDG_CONFIG_HOME}/portcontrolcd or ${HOME}/.config/portcontrolcd if XDG_CONFIG_HOME is not set. An alternative path can be specified with the --config command line parameter.

The configuration file uses an ini format where each section is a port mapping. The section name is an aribrary name for the mapping. Each section may contain the following keys:

Key Value
Interface The name of a network inferface on which to map the port. If this key is ommitted the port is mapped on all interfaces.
Port The port number to map. Required.
Protocol The name of the protocol to map. E.g. TCP or UDP. If this key is ommitted the port is mapped for all protocols. Mapping all protocols may not be supported by the PCP server.
Commit count: 13

cargo fmt