How to Create SpeedFusion Sub Tunnels on Peplink Routers and Why Use Them

Introduction

A SpeedFusion Sub Tunnel allows you to create additional logical tunnels inside an existing SpeedFusion VPN connection between the same two Peplink endpoints.

Instead of creating a completely separate SpeedFusion profile for different types of traffic, Sub Tunnels allow the same SpeedFusion connection to use different WANs and different SpeedFusion settings depending on the application or device.

This is useful when certain traffic requires more protection or should use different WAN connections than normal network traffic.

Why Use SpeedFusion Sub Tunnels?

The main reason to use Sub Tunnels is to give different types of traffic different SpeedFusion behaviour.

For example, normal Internet or file transfer traffic may not require WAN Smoothing, while VoIP or video conferencing can benefit from additional protection against packet loss or an unstable WAN connection.

A simple setup could look like this:

Default Tunnel

Normal network traffic
Starlink and 5G
WAN Smoothing disabled

Voice Sub Tunnel

VoIP or Teams traffic
Fibre and 5G
WAN Smoothing enabled

Critical Sub Tunnel

Important devices
Fibre as Priority 1
5G as Priority 2

Sub Tunnels can therefore be useful when you want to:

  1. Enable WAN Smoothing only for voice or video traffic
  2. Use specific WAN connections for certain applications
  3. Give important traffic a different WAN priority
  4. Apply bandwidth limits to selected traffic
  5. Keep normal traffic on the Default Tunnel while sending critical traffic through a more resilient tunnel

Using WAN Smoothing only where it is required also prevents unnecessary duplication of normal traffic.

How SpeedFusion Sub Tunnels Work

When a SpeedFusion VPN profile is created, it contains a Default Tunnel.

Additional Sub Tunnels can then be created inside that same SpeedFusion profile.

For example:

SpeedFusion Profile: Branch to HQ

Default Tunnel

Fibre
Starlink
WAN Smoothing disabled

Voice Sub Tunnel

Fibre
5G
WAN Smoothing enabled

Critical Sub Tunnel

Fibre Priority 1
5G Priority 2

The SpeedFusion peer remains the same. The Sub Tunnels simply allow different traffic to use different WAN connections and SpeedFusion settings within the same VPN connection.

Creating a SpeedFusion Sub Tunnel

Step 1: Verify the SpeedFusion VPN

Before creating a Sub Tunnel, make sure a normal SpeedFusion VPN connection already exists between the two Peplink devices.

Navigate to:

Advanced > SpeedFusion VPN

Open the existing SpeedFusion profile and confirm that the connection is established.

The existing tunnel will remain the Default Tunnel.

Step 2: Open the Sub Tunnel Settings

Open the existing SpeedFusion profile.

Open the advanced tunnel settings and locate the option for configuring multiple tunnels or Sub Tunnels.

The exact wording can differ depending on the Peplink model and firmware version.

Enable the option to create additional tunnels inside the existing SpeedFusion profile.

Step 3: Create the Sub Tunnel

Add a new tunnel and give it a clear name based on what it will be used for.

For example:

Voice

Video

Critical

Cellular Only

Using a clear name makes it easier to identify the correct tunnel later when configuring Outbound Policies.

Step 4: Select the WAN Connections

Choose which WAN connections the Sub Tunnel should use.

For example, your Default Tunnel could use:

Starlink and Fibre

while your Voice Sub Tunnel uses:

Fibre and 5G

You can also configure WAN priorities.

For example:

Priority 1: Fibre

Priority 2: 5G

In this configuration, Fibre is preferred while 5G is available as an alternative.

The WAN selection and priorities of a Sub Tunnel do not have to be the same as the Default Tunnel.

Step 5: Configure the SpeedFusion Features

Configure the SpeedFusion behaviour required for the Sub Tunnel.

Depending on the model and firmware, available settings can include:

  1. WAN Smoothing
  2. Forward Error Correction
  3. Bandwidth limits
  4. WAN priorities

For example, a Voice Sub Tunnel could have:

WAN Smoothing: Enabled

while the Default Tunnel has WAN Smoothing disabled.

WAN Smoothing can be particularly useful for real time traffic such as voice and video because it sends redundant packets across multiple WAN connections to reduce the effect of packet loss.

Keep in mind that this also increases bandwidth usage.

Step 6: Configure the Remote Peplink

Create the corresponding Sub Tunnel on the Peplink device at the other end of the SpeedFusion connection.

Use compatible settings on both endpoints.

For features such as WAN Smoothing, remember that the setting applies to traffic in the direction where it is enabled. If the same protection is required in both directions, configure it on both endpoints.

Save and apply the configuration on both devices.

Step 7: Send Traffic Through the Sub Tunnel

Creating the Sub Tunnel does not automatically send selected traffic through it.

You need to create an Outbound Policy to decide which traffic should use the tunnel.

Navigate to:

Advanced > Outbound Policy

Create a rule for the required traffic.

For example:

Source: VoIP VLAN

Destination: Any

Algorithm: Enforced

Connection: SpeedFusion VPN > Voice (The name you have given your subtunnel)

Traffic matching this rule will now be sent through the Voice Sub Tunnel.

Outbound Policies can also be created based on criteria such as source IP address, source network, destination, protocol or supported applications.

Make sure the Sub Tunnel rule is positioned correctly in the Outbound Policy list. If another rule matches the traffic first, that traffic may never reach the Sub Tunnel rule.

Verification

After applying the configuration, check the SpeedFusion status.

You should see the Default Tunnel and the newly created Sub Tunnel connected.

Generate traffic that matches the Outbound Policy and confirm that:

  1. The Sub Tunnel is connected
  2. The expected WAN connections are being used
  3. Traffic is passing through the selected Sub Tunnel
  4. Normal traffic continues using the Default Tunnel
  5. WAN Smoothing or other configured features are working as expected

You can also use:

Status > Active Sessions

to check the sessions of a specific client and verify which connection is being used.

Troubleshooting

The Default Tunnel connects but the Sub Tunnel does not

If the remote endpoint is behind a firewall or cloud security group, check the required SpeedFusion data ports.

Additional Sub Tunnels can require additional SpeedFusion data ports. This is especially important when connecting to a FusionHub behind a firewall.

Make sure the required ports are allowed between both endpoints.

Traffic continues using the Default Tunnel

Check the Outbound Policy.

Confirm that the correct source traffic is selected, the correct Sub Tunnel is configured, the rule is enabled and the rule is positioned correctly in the policy list.

Another Outbound Policy may be matching the traffic before the Sub Tunnel rule.

The Sub Tunnel uses more bandwidth than expected

Check whether WAN Smoothing is enabled.

WAN Smoothing sends redundant packets across multiple WAN connections. Because of this, the total WAN usage can be higher than the original application traffic.

Previous Article

How to run KVM on a Peplink router and why use Edge Computing?

Next Article

Access Port vs Trunk Port: What Is the Difference?

Write a Comment

Leave a Comment

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