freelan-developers / freelan

The main freelan repository.
http://www.freelan.org
Other
1.35k stars 200 forks source link

[ERROR] UPnP discovery/port mapping failed: Success #241

Open rica01 opened 3 years ago

rica01 commented 3 years ago

Hello. Im trying to add a node on a docker. I get this error message

root@a12244938e16:/etc/freelan# freelan -f -c ./my.conf
2021-10-08T16:26:30.391059 [INFORMATION] Reading configuration file at: "/etc/freelan/./my.conf"
2021-10-08T16:26:30.391641 [INFORMATION] Setting core logging level to: information.
2021-10-08T16:26:30.391658 [WARNING] No user certificate/private key or pre-shared key set. Generating a temporary certificate/private key pair...
2021-10-08T16:26:30.644559 [WARNING] Using a generated temporary certificate (CN=a12244938e16) prevents reliable authentication ! Generate and specify a static certificate/key pair for use in production.
2021-10-08T16:26:30.644575 [INFORMATION] Starting FSCP server...
2021-10-08T16:26:30.654049 [IMPORTANT] Core set to listen on: 0.0.0.0:12000
2021-10-08T16:26:30.654063 [INFORMATION] Building CA store...
2021-10-08T16:26:30.654094 [INFORMATION] Discovering UPnP IGD gateways.
2021-10-08T16:26:38.662953 [ERROR] UPnP discovery/port mapping failed: Success
2021-10-08T16:26:38.663032 [INFORMATION] FSCP server started.
2021-10-08T16:26:38.663440 [ERROR] Operation not permitted

root@a12244938e16:/etc/freelan#

they only lines on my config file are:

[server]
[client]
public_endpoint=0.0.0.0
[fscp]
[tap_adapter]
enabled=yes
name=tapfreelan
ipv4_address_prefix_length=9.0.0.2/24
ipv4_dhcp=false
ipv6_address_prefix_length=2aa1::1/8
[switch]
[router]
[security]
richman1000000 commented 3 years ago

No user certificate/private key or pre-shared key set you didn't made any authentication settings. this error is correct.

richman1000000 commented 3 years ago

you need to specify passphrase= or signature_certificate_file= signature_private_key_file=