Closed ralgozino closed 4 years ago
https://github.com/sighupio/furyagent/blob/master/pkg/component/openvpnclient.go#L54 strangely the template has the required part
I think that the issue is related to behavior of mapstructure
that if it does not find the servers
key does not complain and the range
in the template stays empty.
Ref: https://github.com/sighupio/furyagent/blob/master/pkg/component/component.go#L90
Can you give us the config you've been using? @ralgozino
It has sensitive information. I'll get in touch in private.
When generating an OpenVPN configuration file using the following command:
and if in the
openvpn-furyagent.yml
the Server section is missing, thenfuryagent
instead of failing, generates an OpenVPN configuration without theremote <server>
line, so the openvpn client doesn't know where to connect to.