How to configure Site-to-Site WireGuard VPN on Omada Controller

Configuration Guide
Updated 03-22-2024 02:17:48 AM 23128
This Article Applies to: 

Application Scenario

https://static-community.tp-link.com/other/25/9/2023/b038c0c76b954f22b600b975ba75b51b.png

Configuration Overview:

1. Configure the HQ Site WireGuard Interface

2. Configure the Satellite Site WireGuard Interface

3. Configure Peer Information on the HQ Site Controller

4. Configure Peer Information on the Satellite Site Controller

5. Verification

Configuration Steps:

Step 1. Configure the HQ Site WireGuard Interface:

1. Launch the Omada SDN Controller, and select a site from the drop-down list of Organization. Go to Settings > VPN > WireGuard.

2. Click Create New WireGuard and configure the parameters.

https://static-community.tp-link.com/other/28/8/2023/6b73b847a0fa48f5ae2097424328cca0.png

  • Name: Specify the name that identifies the WireGuard interface. (This does not affect the VPN tunnel or behavior.)
  • Status: Specify whether to enable the WireGuard interface. (Enable or disable your VPN tunnel.)
  • MTU: Specify the MTU value of the WireGuard interface. The default value of 1420 is recommended. (Usually, it does not need to be set, and is generally determined automatically by the system.)
  • Listen Port: Specify the port number that the WireGuard interface listens to. The default value is 51820. (Usually, the client does not need this to be configured. In this example, our router is the server. You can change this if you need it and you know what you are doing.)
  • Local IP Address: Specify the IP address of the WireGuard interface. (Define the IP address of the WireGuard interface, which should be a non-occupied IP address. It is okay to configure outside your existing LAN range.)
  • Private Key: Specify the private key of the WireGuard interface. The value will be automatically generated on the device, and you can also modify it manually (Defines the private key of this specific VPN tunnel. It has to be set and cannot be shared with other tunnels.)

3. Click Apply. The WireGuard VPN entry will be displayed.

https://static-community.tp-link.com/other/28/8/2023/0846b918fd7d45e3a8f9f0c48a00366e.png

Step 2. Configure the Satellite Site WireGuard Interface:

1. Launch the Omada SDN Controller, and select a site from the drop-down list of Organization. Go to Settings > VPN > WireGuard.

2. Click Create New WireGuard and configure the parameters.

https://static-community.tp-link.com/other/28/8/2023/f594ca4ea60b4ed78e4c884557c4ae98.png

  • Name: Specify the name that identifies the WireGuard interface. (This does not affect the VPN tunnel or behavior.)
  • Status: Specify whether to enable the WireGuard interface. (Enable or disable your VPN tunnel.)
  • MTU: Specify the MTU value of the WireGuard interface. The default value of 1420 is recommended. (Usually, it does not need to be set, and is generally determined automatically by the system.)
  • Listen Port: Specify the port number that the WireGuard interface listens to. The default value is 51820. (Usually, the client does not need this to be configured. In this example, our router is the server. You can change this if you need it and you know what you are doing.)
  • Local IP Address: Specify the IP address of the WireGuard interface. (Define the IP address of the WireGuard interface, which should be a non-occupied IP address. It is okay to configure outside your existing LAN range.)
  • Private Key: Specify the private key of the WireGuard interface. The value will be automatically generated on the device, and you can also modify it manually (Defines the private key of this specific VPN tunnel. It has to be set and cannot be shared with other tunnels.)

3. Click Apply. The WireGuard VPN entry will be displayed.

https://static-community.tp-link.com/other/28/8/2023/d46d6a0608fe4bb9b6082fe3e1e9ee79.png

Step 3. Configure Peer Information on the HQ Site Controller:

1. Launch the Omada SDN Controller, and select a site from the drop-down list of Organization. Go to Settings > VPN > WireGuard > Peers.

2. Click Create New Peer. Configure the parameters and click Apply.

https://static-community.tp-link.com/other/5/9/2023/f859be0fd299483687deca4a86e7ca15.png

  • Name: Specify the name that identifies the WireGuard tunnel.
  • Status: Specify whether to enable the peer setting.
  • Interface: Choose the WireGuard interface to which the peer belongs.
  • Endpoint: Specify the IP address of the peer. This parameter is required when the Omada Router actively connects to other WireGuard peers. (If you need to specify the peer server, you can put the public IP address of the peer server. If the HQ has initiated the connection, this can be optional, which is the case in this guide. If you don't specify the Endpoint on both sites, then the connection cannot be made.)
  • Endpoint Port: Specify the port number of the peer. This parameter is required when the Omada Router actively connects to other WireGuard peers.
  • Allowed Address: Specify the address segment that allows traffic to pass through. (Here you should specify the subnet of the peer LAN. This defines what you are allowed to access on the peer site. If you do not include the subnet, then you don't have access to it.)
  • Persistent Keepalive: Specify the tunnel keepalive packet interval. (This defines the interval of the keepalive packet sent to the Allowed Address.)
  • Comment: Enter the description of the peer.
  • Public Key: Fill in the public key of the peer Satellite site.
  • Preshared Key: Specify a shared key if needed.

Step 4. Configure Peer Information on the Satellite Site Controller:

1. Launch the Omada SDN Controller, and select a site from the drop-down list of Organization. Go to Settings > VPN > WireGuard > Peers.

2. Click Create New Peer. Configure the parameters and click Apply.

https://static-community.tp-link.com/other/5/9/2023/2980578a250d4ed7b8bfc3052a3608ad.png

  • Name: Specify the name that identifies the WireGuard tunnel.
  • Status: Specify whether to enable the peer setting.
  • Interface: Choose the WireGuard interface to which the peer belongs.
  • Endpoint: Specify the IP address of the peer. This parameter is required when the Omada Router actively connects to other WireGuard peers. (If you need to specify the peer server, you can put the public IP address of the peer server. If the HQ has initiated the connection, this can be optional, which is the case in this guide. If you don't specify the Endpoint on both sites, then the connection cannot be made.)
  • Endpoint Port: Specify the port number of the peer. This parameter is required when the Omada Router actively connects to other WireGuard peers.
  • Allowed Address: Specify the address segment that allows traffic to pass through. (Here you should specify the subnet of the peer LAN. This defines what you are allowed to access on the peer site. If you do not include the subnet, then you don't have access to it.)
  • Persistent Keepalive: Specify the tunnel keepalive packet interval. (This defines the interval of the keepalive packet sent to the Allowed Address.)
  • Comment: Enter the description of the peer.
  • Public Key: Fill in the public key of the peer HQ site.
  • Preshared Key: Specify a shared key if needed.

Verification:

1. Verify the HQ site has access to the Satellite site.

Use a computer from the HQ to ping the Satellite gateway and PC.

https://static-community.tp-link.com/other/28/8/2023/d4678e091e4c4846bbc05c3dddfb26c5.png

Use a computer from the HQ to access the file server located on the Satellite site. Files can be uploaded or downloaded without any problems.

https://static-community.tp-link.com/other/28/8/2023/6826c816bebe43698d488fea1dfadc7c.png

2. Verify the Satellite site has access to the HQ site.

Use a computer from the Satellite site to ping the HQ gateway.

https://static-community.tp-link.com/other/28/8/2023/d2bfed49c7354550b4d87f26d1fbd1aa.png

Related FAQs

Is this faq useful?

Your feedback helps improve this site.

Recommend Products

Community

TP-Link Community

Still need help? Search for answers, ask questions, and get help from TP-Link experts and other users around the world.

Visit the Community >