Bug in 2.2 or tinc package? RSA keys not generated or populated
On the tinc configuration page, when checking the "generate RSA key pair" checkbox and then saving the settings, no such key pair seems to be generated, or if it is, it's not filled into the form fields reserved for them.
Not sure if that's a problem with the package or 2.2
Ended up generating the keys on the command line and pasting them into the relevant fields, and they do stick once they are in there.
Haven't gotten the tincd to run, though. Unfortunately not much documentation on how tinc on pfSense works, Google mostly finds stuff that doesn't seem to be applicable here, and on the forums I don't find much either.
Has anyone actually successfully used tinc under 2.2-RC?
Just want to do some performance comparison, looks like it could be an ideal VPN for my needs, and it could be quite quick given that I read it does data compression, too.
It gets stranger, though, when I try to start tincd from the command line for debugging, I get this:
[2.2-RC][firstname.lastname@example.org]/root: tincd -dD Cannot open config file /usr/local/etc/tinc/tinc.conf: No such file or directory Failed to read `/usr/local/etc/tinc/tinc.conf': No such file or directory [2.2-RC][email@example.com]/root: ls -las /usr/local/etc/tinc/ WARNING-ENTIRE_DIRECTORY_ERASED_ON_SAVE_FROM_GUI hosts/ rsa_key.priv tinc-up* tinc.conf [2.2-RC][firstname.lastname@example.org]/root: cat /usr/local/etc/tinc/tinc.conf name=pvd-gateway-tincd AddressFamily=ipv4 ConnectTo=pws-gateway
Now, while it's perfectly possible that the configuration isn't correct, the error message that "No such file or director" exists, is bit off, given that the .conf file even has some content.