How to Replace a VPN With Twingate in 5 Minutes

1.6M views
•
April 28, 2023
by
NetworkChuck
YouTube video player
How to Replace a VPN With Twingate in 5 Minutes

TL;DR

Deploy a Twingate connector as a Docker container inside your network, then explicitly define which private resources, protocols, and ports each user may access. The setup requires a Twingate account and a Linux device such as a NAS, old laptop, or Raspberry Pi, with no firewall configuration or port forwarding required.

Transcript

Throw your VPN in the trash, you don't need it anymore. I found something better. Like seriously, while my team and I were gone for three weeks working on a top secret project for a pretty big YouTuber . I was just telling everyone how Nick was lazy and didn't finish his edit before the trip. Oh yeah, I only stayed up. Till one. I can't tell you ab... Read More

Key Insights

  • Twingate is presented as a zero-trust remote access solution that limits each person to explicitly authorized resources. This granular model addresses the risk of giving VPN users broad access to servers and other systems they do not need.
  • The initial Twingate setup requires two primary tasks: creating an account for the cloud-managed controller and deploying a connector inside the private network. The connector can run as a Docker container on a Linux server, NAS, old laptop, or Raspberry Pi.
  • The connector works from behind the firewall without requiring firewall configuration or port forwarding. According to the demonstration, it can connect private environments even when carrier-grade NAT or unusual internet service provider conditions would complicate traditional inbound remote access.
  • Resources are inaccessible by default until an administrator explicitly defines them. A resource can be configured with a private IP address or DNS, assigned to a remote network, restricted to selected protocols and ports, and made available only to chosen groups.
  • Protocol restrictions can narrow access to a specific service instead of an entire machine. In the demonstrated NAS configuration, TCP port 5000 is allowed while UDP and ICMP are blocked, leaving users access only to the required web interface.
  • Device policies can determine which endpoints are allowed to connect. The transcript describes permitting selected device platforms and requiring Windows systems to have antivirus protection and firewall settings enabled before they can access protected resources.
  • Multiple connectors can be deployed within one remote network. Although the walkthrough starts with a single connector, Twingate recommends two connectors when redundancy and high availability are desired, preventing reliance on only one deployed connection point.
  • The starter plan is described as free for up to five users. New accounts receive a 14-day business trial without a credit card, after which the free starter option can cover a small team such as the creator's business.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How do you replace a VPN with Twingate?

Create a free Twingate account, define an on-premise remote network, and deploy a connector inside that network. The walkthrough uses a Docker container running on a Raspberry Pi, although a NAS, old laptop, or another Linux server can be used. After the connector reports that it is connected, add individual resources and assign access to the appropriate user groups.

Q: What equipment is required to set up Twingate?

The setup requires an account with Twingate and a device capable of running its Docker connector. The transcript identifies a Linux server, NAS, old laptop, or Raspberry Pi as possible hosts. Docker must be installed on that device. The example updates the package repositories, installs docker.io, runs the generated Docker command, and checks the container with the docker PS command.

Q: How does Twingate limit remote user access?

Twingate denies access to private resources by default and requires each resource to be defined explicitly. Administrators can decide which users or groups receive access and restrict a resource by machine, protocol, and port. The transcript also describes controlling permitted device platforms and requiring antivirus and firewall settings on Windows systems before those systems are allowed to connect.

Q: Does Twingate require port forwarding or firewall changes?

The demonstrated Twingate deployment does not require port forwarding or firewall configuration. Its connector is installed inside the private network, behind the firewall, and establishes the necessary connectivity. The presenter says this arrangement works even with carrier-grade NAT or unusual internet service provider issues, making it suitable for private networks where configuring inbound connections would otherwise be difficult.

Q: How do you deploy a Twingate Docker connector?

Open the selected remote network in the Twingate controller, choose a connector, and select Docker as the deployment method. Generate the access and refresh tokens, authenticate again when requested, and copy the supplied Docker run command. Paste that command into the Linux device's terminal, adding sudo if necessary. Finally, run sudo docker PS and confirm that the controller reports the connector as connected.

Q: How do you restrict Twingate access to one port?

Add a resource in the Twingate controller, select its remote network, and enter the resource's private IP address or DNS information. Open the protocol restrictions, permit only the needed protocol and port, and block unnecessary traffic. In the walkthrough, the NAS resource allows TCP port 5000 while UDP and ICMP are blocked, limiting access to the NAS graphical interface.

Q: Can Twingate connect more than one private network?

Yes. The controller can manage more than one remote network, allowing connectors to be deployed at separate private locations or cloud networks. The transcript mentions the studio network, home lab network, private cloud networks, and possible networks at relatives' or friends' homes. Each network can contain its own connector and resources, with access assigned according to user or group requirements.

Q: Is Twingate free for small teams?

The transcript states that Twingate is free for up to five users, which the presenter says is enough for his business. During registration, a new account receives a 14-day business trial without requiring a credit card. The walkthrough says the starter plan remains available for free afterward, while the description also promotes separate teams and business plan coupon codes.

Summary & Key Takeaways

  • Twingate provides remote access through a zero-trust model that grants users access only to explicitly configured resources. Unlike the described VPN setup, it does not automatically expose the entire private network. Administrators can restrict access by machine, protocol, port, user group, device type, antivirus status, and firewall settings.

  • The basic deployment uses a cloud-managed controller and a connector installed behind the network firewall. After creating a Twingate account and defining an on-premise remote network, the administrator generates authentication tokens, copies the supplied Docker command, runs it on a Linux device, and verifies that the connector is running and connected.

  • Resources are unavailable by default and must be added individually using a private IP address or DNS. The demonstration creates access to a NAS, permits TCP traffic only on port 5000, and blocks UDP and ICMP. Access is then assigned to a user group, providing narrowly scoped connectivity instead of network-wide access.


Read in Other Languages (beta)

Share This Summary 📚

Explore More Summaries from NetworkChuck 📚