#
twingate
Awesome zero-trust VPN that several of our clients have. We're fans.
#
Generate connector for a Proxmox LXC container
For our pentest dropboxes, we love using the twingate-connector LXC.
- Run the install script (from Proxmox GUI, not SSH console).
- From the Twingate admin console, click Remote Networks > (click your remote network) and under Connectors click Add Connector.
- Click the connector (rename it if you want).
- Under Select a Deployment Method, click Proxmox and then copy/paste the appropriate tokens into the LXC install.
- Make sure for the network name, you choose a network name that is configured under
Network > Remote Networks.
#
Edit/refresh tokens
The tokens are stored here:
/etc/twingate/connector.conf
#
Uninstall a twingate connector
sudo apt purge twingate-connector
#
Uninstall a twingate docker connector
Get the image name (look under the NAMES column):
sudo docker ps -a
Stop it:
sudo docker rm twingate-unique-name-goes-here
Remove it:
sudo docker rm twingate-unique-name-goes-here
#
Troubleshooting connectivity
If your twingate connector isn't phoning home, check out this page.
See what's happening in the logs:
journalctl -u twingate-connector -f
#
Turn logging up
If the logs are kind of boring, this page well help you turn logging up to 11 (well, actually...7):
nano /etc/twingate/connector.conf
# Add this line:
echo "TWINGATE_LOG_LEVEL=7" | sudo tee -a /etc/twingate/connector.conf
Restart connector:
sudo systemctl restart twingate-connector
If things still aren't happy, review the firewall logs.