Guide: Connect Omada as an OpenVPN Client with OpenVPN Access Server on Raspberry Pi4

Guide: Connect Omada as an OpenVPN Client with OpenVPN Access Server on Raspberry Pi4

Guide: Connect Omada as an OpenVPN Client with OpenVPN Access Server on Raspberry Pi4
Guide: Connect Omada as an OpenVPN Client with OpenVPN Access Server on Raspberry Pi4
2022-08-13 16:02:27 - last edited 2022-10-28 02:13:39
Model: OC300  
Hardware Version:
Firmware Version:

Guide: Connect Omada as an OpenVPN Client with OpenVPN Access Server on Raspberry Pi4

 

Note:
Interface/name/url/navigation used in this guide may change due to version/updates/changes

 

Short Version Video: https://www.youtube.com/watch?v=1OJxmbsTkmY&feature=youtu.be

 

Hardware:
Raspberry Pi4 4GB
Micro SD 16 GB
Mouse/Keyboard/Display as needed

 

Use Case:
* Some use case for this scenario includes accessing another LAN across the internet, say a PLEX server. Also good for accessing LAN resources such as storage (private Cloud/NAS), across the public Internet


Part 1 - Set up your Pi4
1. Download and install Raspberry Pi Imager at the official website ( https://www.raspberrypi.com/software/)
2. Image your MicroSD, make sure to select Other OS and choose Ubuntu 20.00 LTS 64bit

 

Part 2 - Installing your own OpenVPN Access Server
This server must be remote or for  lab/testing purposes, can be installed in your simulated "WAN" environment or different ISP
1. Boot up Pi4 and update your OS and packages (i.e. sudo apt update, sudo apt upgrade). Reboot as needed.
2. Download OpenVPN Access Server at the official site (https://openvpn.net/vpn-software-packages/). Make sure to select the Ubuntu Icon > Ubuntu 20 [arm64]
3. Follow Option 1 (or Option 2) instructions to install the server
4. Make sure to take note of the IP address and Password for the admin account

 

Part 3 - Configure OpenVPN Access Server
1. Navigate to your Pi4's "IP address:port/admin" (OpenVPN Access Server) and login as an admin (openvpn)
2. Head to "Configuration" > "Advanced VPN" > TLS Control Channel Security > tls-auth "YES". Save the settings.
3. Go to "User Management" > "User Permissions" > "New Username". Make sure "Allow Auto-Login" is checked.
4. "Save" the settings and "Update Running Server"
5. On the created user, click "More settings"
6. Set a "Local Password". Leave everything on default settings.
7. "Save" the settings and "Update Running Server"
8. Log out from the admin console
9. Navigate to your Pi4's "IP address:port" (OpenVPN Access Server) and login as the new users. Note, this is not the /admin URL
10. Click on "Yourself (autologin profile)" to download the .ovpn file for later use in Omada

 

Part 4 - Configure Omada
1. Navigate to "VPN > Create New VPN Policy"
2. Give it a "Name". 
3. Set up "Purpose > Client-to-Site VPN > VPN Type = VPN Client / OpenVPN"
4. Enter the "Remote Server"'s IP and "Port" (1194)
5. Select your "Local Networks", and "WAN"
6. Click "Import" and use the file downloaded from Part 3 / Step 10
7. Click "Create"

 

Part 5 - Verifying Connectivity
1. On the Omada console, navigate to "Insighs > VPN Status > OpenVPN > Client". It may take a few minutes to show the status
2. Use IPChicken or WhatIsMyIP to check your WAN IP
3. Login to OpenVPN Access Server to check logged in user


Short Version Video: https://www.youtube.com/watch?v=1OJxmbsTkmY&feature=youtu.be

  4      
  4      
#1
Options
2 Reply
Re:Guide: Connect Omada as an OpenVPN Client with OpenVPN Access Server on Raspberry Pi4
2022-08-15 03:41:12

Dear @Death_Metal,

 

Welcome to share the guide in TP-Link Community!

 

Death_Metal wrote

Part 1 - Set up your Pi4
1. Download and install Raspberry Pi Imager at the official website (can't post link, blocked by forum)
2. Download OpenVPN Access Server at the official site (can't post link, blocked by forum). Make sure to select the Ubuntu Icon > Ubuntu 20 [arm64]

 

Regarding the links can't be posted as you mentioned above, you can DM me (move the mouse over my profile to send a Message) with the link you'd like to post, then I can help forward to the developer to allow them.

2022 TP-Link Wi-Fi 7 Product Launch Event | Watch the Replay at https://www.tp-link.com/us/wifi7/event/.
  0  
  0  
#2
Options
Re:Guide: Connect Omada as an OpenVPN Client with OpenVPN Access Server on Raspberry Pi4
2022-08-21 03:11:14 - last edited 2022-08-21 03:15:46

  @Death_Metal Hello fae, thanks for the support. See below for URL of the websites 

1. Download and install Raspberry Pi Imager at the official website

URL is (I added space between https: and ///): https: //www.raspberrypi.com/software/

 

2. Download OpenVPN Access Server at the official site (can't post link, blocked by forum). 

URL is (I added space between https: and ///): https: //openvpn.net/vpn-software-packages/

  0  
  0  
#3
Options