|
|
@ -41,6 +41,8 @@ namespace config { |
|
|
|
("datadir", value<std::string>()->default_value(""), "Path to storage of i2pd data (RI, keys, peer profiles, ...)") |
|
|
|
("datadir", value<std::string>()->default_value(""), "Path to storage of i2pd data (RI, keys, peer profiles, ...)") |
|
|
|
("host", value<std::string>()->default_value("0.0.0.0"), "External IP") |
|
|
|
("host", value<std::string>()->default_value("0.0.0.0"), "External IP") |
|
|
|
("ifname", value<std::string>()->default_value(""), "Network interface to bind to") |
|
|
|
("ifname", value<std::string>()->default_value(""), "Network interface to bind to") |
|
|
|
|
|
|
|
("ifname4", value<std::string>()->default_value(""), "Network interface to bind to for ipv4") |
|
|
|
|
|
|
|
("ifname6", value<std::string>()->default_value(""), "Network interface to bind to for ipv6") |
|
|
|
("nat", value<bool>()->zero_tokens()->default_value(true), "Should we assume we are behind NAT?") |
|
|
|
("nat", value<bool>()->zero_tokens()->default_value(true), "Should we assume we are behind NAT?") |
|
|
|
("port", value<uint16_t>()->default_value(0), "Port to listen for incoming connections (default: auto)") |
|
|
|
("port", value<uint16_t>()->default_value(0), "Port to listen for incoming connections (default: auto)") |
|
|
|
("ipv4", value<bool>()->zero_tokens()->default_value(true), "Enable communication through ipv4") |
|
|
|
("ipv4", value<bool>()->zero_tokens()->default_value(true), "Enable communication through ipv4") |
|
|
|