Skip to content
Home » Unifi – Route total traffic of a network (VLans) or individual devices through a VPN

Unifi – Route total traffic of a network (VLans) or individual devices through a VPN

Advertisements

There can be various reasons to route the traffic of a network or individual devices through a VPN, e.g. you can create a static route into the company network or route the traffic of the guest network through a commercial VPN, so that possible illegal activities cannot be traced back directly to your own Internet connection.

VPN Client vs. Site to Site Connection

The “Network” application on the Unifi Dream Machine Pro SE (AD*) in version 7.3.76, which is currently only available via the Early Access Release channel, now offers the VPN Client option. Unlike a Site to Site VPN, which connects two LANs, the VPN Client option connects to the Public Endpoint, i.e. directly to the Internet.

Unifi Client VPN Create

  1. Navigate to “Teleport & VPN
  2. Scroll down to “VPN Client
  3. “Create New VPN Client
  4. Enter name, credentials and OpenVPN profile.
  5. Test & Save

Now we have created the VPN tunnel, but no traffic is routed through it yet, we do this in the next step with the help of the “Route” function under the menu item “Traffic Management

  1. “Create New Route”
  2. Under Target, an entire network or individual devices can be selected.
  3. Under “Interface” the just created VPN is selected.
  4. Assign a name and save.
  5. The traffic is routed through the VPN.
Is the traffic routed through the VPN detected by the DPI (Deep Packet Inspection) function?

Yes, the traffic routed through the VPN is analyzed by DPI.

Does routing through a VPN limit the speed of the Internet connection?

Yes, the speed is limited by the maximum throughput of the VPN server, which can vary depending on the VPN provider. In addition, a VPN tunnel uses the CPU of the Unifi gateway, and the speed is throttled if it is under load.

What VPN technology does the Unifi Client VPN support?

Currently, only VPN connections via the OpenVPN protocol are supported.

Advertisements
Do I need a Unifi Gateway like the Unifi Dream Machine Pro ?

Yes a Unifi gateway is required.

Advertisements

Leave a Reply

Your email address will not be published. Required fields are marked *