Omada SDN gateway as OpenVPN Client

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Omada SDN gateway as OpenVPN Client

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Omada SDN gateway as OpenVPN Client
Omada SDN gateway as OpenVPN Client
2020-12-24 12:19:58 - last edited 2020-12-27 16:22:43
Model: ER605 (TL-R605)  
Hardware Version: V1
Firmware Version: 1.0.0 Build 20200930 Rel.36519

Trying to set up a client-to-site VPN to an OpenVPN server which is elsewhere, so that the OpenVPN client is my TL-R605 gateway here. I've set up the configuration using "Client-to-Site", "VPN Client" and "OpenVPN" options, as below, and the configuration completes, apparently successfully. Although I've imported the ".ovpn" file, there's nowhere to enter a username or password. How do I actually connect, and how do I subsequently put in a transmission route through the VPN connection? By the way, I can successfully connect to this remote VPN server from a windows PC here using standard OpenVPN client, or even from a Synology NAS here using an OpenVPN profile, so there's no technical problem other than configuration of the TP-Link router/Omada SDN. Can anyone help?

  0      
  0      
#1
Options
1 Accepted Solution
Re:Omada SDN gateway as OpenVPN Client-Solution
2020-12-27 16:22:32 - last edited 2020-12-27 16:22:43

@penguintree I have found the solution. I used the autologin profile (.ovpn file) containing both the key and certificate, downloaded from the OpenVPN server I'm connecting to. I imported this into the VPN client configuration for the omada VPN policy and set the remote server ip address and the udp port number (not the tcp port number I was anticipating was required) - it didn't say which to use anywhere, but it's the udp one; 1194 in this case. There's no notification that the VPN has connected successfully available anywhere from the omada controller, which makes diagnostics really difficult - the only way I can be certain is to look at the admin console for the remote OpenVPN server, or to direct all LAN traffic through the VPN and do a tracert or "whatsmyip".

Recommended Solution
  0  
  0  
#4
Options
4 Reply
Re:Omada SDN gateway as OpenVPN Client
2020-12-25 11:03:04

Dear @penguintree,

 

Although I've imported the ".ovpn" file, there's nowhere to enter a username or password. How do I actually connect, and how do I subsequently put in a transmission route through the VPN connection? 

 

I'm afraid that it only supports to import the ".ovpn" file when the TP-Link router works as OpenVPN Client.

If you need to enter a Username and Password to get connected, sorry that TP-Link router cannot do this job.

Best Regards!
  0  
  0  
#2
Options
Re:Omada SDN gateway as OpenVPN Client
2020-12-25 16:37:35

@Fae Thanks for the reply. I *am* trying to use the TP-Link router as OpenVPN Client and that's why I'm trying to import the ".ovpn" file. I also have control over the OpenVPN Server (at the other, remote end). I now realise that I can set the remote server to allow auto-login or server-locked profiles (therefore not requiring username and password), which I've done so I've also generated and exported those profiles and tried importing them into the TP-Link router. I am sure that the router is supposed to do be able to work as an OpenVPN client, it's just that I clearly don't understand how to configure it to connect. Can anyone at TP-Link help? I won't be the only person who needs to know this. Thanks in advance.

Fae wrote

Dear @penguintree,

 

Although I've imported the ".ovpn" file, there's nowhere to enter a username or password. How do I actually connect, and how do I subsequently put in a transmission route through the VPN connection? 

 

I'm afraid that it only supports to import the ".ovpn" file when the TP-Link router works as OpenVPN Client.

If you need to enter a Username and Password to get connected, sorry that TP-Link router cannot do this job.

 

  0  
  0  
#3
Options
Re:Omada SDN gateway as OpenVPN Client-Solution
2020-12-27 16:22:32 - last edited 2020-12-27 16:22:43

@penguintree I have found the solution. I used the autologin profile (.ovpn file) containing both the key and certificate, downloaded from the OpenVPN server I'm connecting to. I imported this into the VPN client configuration for the omada VPN policy and set the remote server ip address and the udp port number (not the tcp port number I was anticipating was required) - it didn't say which to use anywhere, but it's the udp one; 1194 in this case. There's no notification that the VPN has connected successfully available anywhere from the omada controller, which makes diagnostics really difficult - the only way I can be certain is to look at the admin console for the remote OpenVPN server, or to direct all LAN traffic through the VPN and do a tracert or "whatsmyip".

Recommended Solution
  0  
  0  
#4
Options
Re:Omada SDN gateway as OpenVPN Client
2021-03-02 02:23:57 - last edited 2021-03-02 03:00:32

@penguintree 

 

Where in the .ovpn file did you enter your login credentials? I'm attempting to duplicate your solution, but all the tutorials I find instruct the insertion of a command into the .ovpn file that points to a separate file with username and password. The TL-R605/Omada interface appears to allow only one file upload in the VPN config section.

 

Also, are you in control of the VPN server-side, or are you a VPN service client? I am a NordVPN client, so I may be following an impossible path here.

  0  
  0  
#5
Options