Skip to main content

How to setup split tunneling with WireGuard

Split-tunneling

Updated over a week ago

The following guide outline the steps on how to route specific website or web service through the WireGuard tunnel, while leaving other traffic to use your regular internet connection.

Step 1

Open Command Prompt (Windows) or Terminal (MacOS and Linux) application.


Step 2

Enter: nslookup [URL of the website]

*we will use PrivateVPN.com website for this guide

Take note of the IPv4 addresses.


Step 3

Proceed to WireGuard application and then select your WireGuard profile.

Click Edit button.


Step 4

Enter the website IPv4 addresses on the WireGuard AllowedIPs list.

NOTE: Include a comma between the IP addresses.

Click Save button.


Step 5

Reconnect WireGuard and then recheck the website.

Did this answer your question?