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

optical

New Member
Jul 5, 2023
27
4
3
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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!