turnkey-wireguard template: How or where do you specify the public ports?

optical

Member
Jul 5, 2023
34
10
8
Hello there, I installed the turnkey-wireguard LXC template but it only asked a minimal amount of questions at setup time, none of which mentioned ports?

Then I looked in /etc/ to try and blindly locate some kind of config file and I couldn't find it

What do I do now?

Also, it appears things didn't install properly - at the 'confconsole' interface that comes up in the main OS once you're in the container, when you choose the add peer option, it crashes! and says 'wg-quick' is not installed. Also there is no /etc/wireguard so I don't know where any of the config files are

Is this template functional?
 
Last edited:
In case anyone else ends up here and is a novice user in a similar boat.. For some reason I had no /etc/wireguard dir at all and certainly no .conf files in there. I had to go back to /usr/lib/inithooks/bin and run wireguard.py which THEN finally generated the appropriate wg0.conf file which now resides in /etc/wireguard

Then i can re-run confconsole and then press add user and it no longer crashes.

https://www.turnkeylinux.org/forum/support/tue-20210921-1353/wireguard-setup - scroll to the comments and it confirms this is a current problem with the proxmox lxc template and you need to install wireguard-tools by hand
 
Last edited:
  • Like
Reactions: leesteken