Omada ER605 OpenVPN "Server Poll timeout"

Omada ER605 OpenVPN "Server Poll timeout"

Omada ER605 OpenVPN "Server Poll timeout"
Omada ER605 OpenVPN "Server Poll timeout"
Sunday - last edited Wednesday
Model: ER605 (TL-R605)  
Hardware Version: V2
Firmware Version: 2.3.0

I realized there's another thread with a similar name that is solved, but the solution is not solving my problem.

 

Similar threads:

* https://community.tp-link.com/en/business/forum/topic/735634 - I'm working remotely already. So, I'm accessing the VPN from outside, not internally.

* https://community.tp-link.com/en/business/forum/topic/668358 - I've tried setting "comp-lzo adaptive". It's still not getting through.

 

My setup:

* ER605 v2; firmware v2.3.0

* Using Omada Cloud Controller

* Using OpenVPN clients v 3.7.1 on MacBook, iPhone, and Android phone. All clients are in "Legacy" mode.

 

OpenVPN Server config on ER605:

* Purpose: Client-to-Site VPN

* VPN Type: VPN Server - OpenVPN

* Account Password: Enable

* Tunnel Mode: Full

* Service Port: 1194

* Authentication Mode: Local

* WAN: WAN1

* IP Pool: 10.3.0.1/24

* Primary DNS Server: 9.9.9.9

* Secondary DNS Server: 8.8.8.8

* Change UDP protocol to TCP: disable

 

NAT Port Forwarding Settings:

* Source IP: Any

* Interface: WAN1

* WAN IP: not set (grey out)

* DMZ: disable

* Source Port: 1194

* Destination IP: ER605's local IP address

* Destination Port: 1194

* Protocol: UDP

 

Here's what I tried:

* I have another OpenVPN server running on my NAS. When I set the NAT to forward port 1194 to my NAS, all my clients ran fine. So, I know that my network connections are working. The port forwarding using NAT is working.

 

* When I tried to point the port 1194 to ER605, and use ER605's OpenVPN server, I'm getting "Server Poll timeout".

 

* I read some posts that used ACL to direct port 1194 to ER605. I tried using ACL instead of NAT. It is still getting timeout. 

 

* OpenVPN website recommended that port TCP 443 and TCP 943 should be forwarded. I tried that - no go.

 

* I have another site with an integrated controller and gateway (ER7212PC v1.0; firmware: 1.3.1). It's having the same issue. I feel like I'm missing something fundamental, but I don't know what.

 

Regards,

Tim

 

  0      
  0      
#1
Options
1 Accepted Solution
Re:Omada ER605 OpenVPN "Server Poll timeout"-Solution
Tuesday - last edited Wednesday

 Hi @Clive_A 

 

Regarding my unreachable DNS that's causing the Server Poll timeout, I'm using a Pi-Hole DNS server in my internal network. I like the VPN traffic to go through the Pi-Hole DNS. However, if I set the OPVN configuration on ER605 to point to the internal DNS server, I get a Server Poll timeout. I need to set the OPVN's DNS configuration to an external DNS address.

 

Currently, I have set my main internal LAN interface on ER605 to point to my internal Pi-Hole DNS server. So, all internal clients pointing to ER605 as their DNS server will get directed to my Pi-Hole DNS server. My questions are:

 

1) With OPVN's DNS set to an external DNS, will the OPVN traffic use my internal DNS because of my LAN interface setting? OR will it use the external DNS defined by the OPVN server?

 

2) Can I use dhcp-option [pi-hole-ip-address] in the .opvn profile? Will ER605's OPVN server recognize this option in the profile?

 

3) If neither of the above options works, are there any other ways to set ER605's OPVN server to route traffic using internal DNS?

 

Regards,

Tim

 

Recommended Solution
  0  
  0  
#6
Options
8 Reply
Re:Omada ER605 OpenVPN "Server Poll timeout"
Sunday

  @Tim_Tang 

 

I use WireGuard here instead of OpenVPN but your post made me curious.  I briefly looked at the following online guides but I did not see any mention of having to do port forwarding.  One would think that the gateway hosting the OpenVPN server would open the necessary port automatically.  Have you tried disabling port forwarding for port 1194?

 

Omada Gateway as OpenVPN Server in Controller Mode

 

Omada Gateway as OpenVPN Server in Standalone Mode

 

 

1x ER706W 1x OC300 4x SG2008 1x EAP610 2x EAP650
  0  
  0  
#2
Options
Re:Omada ER605 OpenVPN "Server Poll timeout"
Sunday

  @jra11500 

 

Thank you for your reply!

 

I did a quick test. I do have Wireguard set up, and it's working. For Wireguard, I did have port forwarding for port 51820 to ER605. It works either with or without that port forward. So, it seems like you are right.

 

However, for OpenVPN, I still cannot connect after disabling the port forwarding.

 

Just FYI, while I do have many other VPN options working already, this is just bugging me. It seems so simple, yet it's not working.

 

Regards,

Tim

 

 

 

  0  
  0  
#3
Options
Re:Omada ER605 OpenVPN "Server Poll timeout"
Monday

  @Tim_Tang 

You don't need port forwarding at any time, regardless of whether your WAN IP is public or not. 

The OVPN will automatically open the port once you have configured the OVPN server on the Omada routers. 

 

I assume it would be a problem with your network environment. 

  1  
  1  
#4
Options
Re:Omada ER605 OpenVPN "Server Poll timeout"
Monday

 Hi @Clive_A 

 

While you did not explicitly say it, you gave me a clue when you said OPVN will "automatically open the port". I suspected that when I created the OPVN configuration, I had my NAT forwarding enabled; hence, ER605 could not automatically open the port properly.

 

So, I deleted my ACL and OPVN configuration. Then, I created OPVN from scratch with the NAT port forwarding disabled. It worked. BUT there's more to the story!!

 

If I change the OPVN configuration to an unreachable DNS server, obviously, it stops working. But even when I tried to change the configuration back to the original working DNS address and generate a new .opvn profile, it refused to connect. I need to delete the OPVN configuration and start from scratch to get it working.

 

It seems that once OPVN server fails to connect, it will never establish connections, no matter how you change the configuration. You must delete and start from the top. AND there's more...

 

After creating a working new OPVN configuration, if I update the server IP address with hostname in the .opvn profile before import into the client, it will have a "Connection Lost" error. However, if I import the .opvn profile with the raw server IP address, it will connect. Only after making the initial connection, then I can modify the .opvn profile to hostname and re-import the profile. Now the client will use the hostname instead of a fixed IP address.

 

It seems that the OPVN configurations are very finicky. 

 

Just FYI, I always modify the .opvn profile to change the comp-lzo to adaptive as recommended by https://community.tp-link.com/en/business/forum/topic/653224

I did not try leaving at the default "no". 

 

Regards,

Tim

 

 

  0  
  0  
#5
Options
Re:Omada ER605 OpenVPN "Server Poll timeout"-Solution
Tuesday - last edited Wednesday

 Hi @Clive_A 

 

Regarding my unreachable DNS that's causing the Server Poll timeout, I'm using a Pi-Hole DNS server in my internal network. I like the VPN traffic to go through the Pi-Hole DNS. However, if I set the OPVN configuration on ER605 to point to the internal DNS server, I get a Server Poll timeout. I need to set the OPVN's DNS configuration to an external DNS address.

 

Currently, I have set my main internal LAN interface on ER605 to point to my internal Pi-Hole DNS server. So, all internal clients pointing to ER605 as their DNS server will get directed to my Pi-Hole DNS server. My questions are:

 

1) With OPVN's DNS set to an external DNS, will the OPVN traffic use my internal DNS because of my LAN interface setting? OR will it use the external DNS defined by the OPVN server?

 

2) Can I use dhcp-option [pi-hole-ip-address] in the .opvn profile? Will ER605's OPVN server recognize this option in the profile?

 

3) If neither of the above options works, are there any other ways to set ER605's OPVN server to route traffic using internal DNS?

 

Regards,

Tim

 

Recommended Solution
  0  
  0  
#6
Options
Re:Omada ER605 OpenVPN "Server Poll timeout"
Tuesday

 Hi @Clive_A 

 

In my excitement about making progress, I forgot to mention something that's really important:

 

Thank you!!!

 

Tim

 

  0  
  0  
#7
Options
Re:Omada ER605 OpenVPN "Server Poll timeout"
Wednesday

  @Tim_Tang 

Tim_Tang wrote

 Hi @Clive_A 

 

Regarding my unreachable DNS that's causing the Server Poll timeout, I'm using a Pi-Hole DNS server in my internal network. I like the VPN traffic to go through the Pi-Hole DNS. However, if I set the OPVN configuration on ER605 to point to the internal DNS server, I get a Server Poll timeout. I need to set the OPVN's DNS configuration to an external DNS address.

 

Currently, I have set my main internal LAN interface on ER605 to point to my internal Pi-Hole DNS server. So, all internal clients pointing to ER605 as their DNS server will get directed to my Pi-Hole DNS server. My questions are:

 

1) With OPVN's DNS set to an external DNS, will the OPVN traffic use my internal DNS because of my LAN interface setting? OR will it use the external DNS defined by the OPVN server?

 

2) Can I use dhcp-option [pi-hole-ip-address] in the .opvn profile? Will ER605's OPVN server recognize this option in the profile?

 

3) If neither of the above options works, are there any other ways to set ER605's OPVN server to route traffic using internal DNS?

 

Regards,

Tim

 

1. This might be a limitation with the OVPN. You can contact the OVPN team regarding that. It is not a problem with the Omada gears. I am pretty sure WireGuard can use the local DNS. I am using WG instead of VPN now, and I have set the DNS to my local DNS server.

2. Internal(LAN) DHCP has nothing to do with the VPN interface.

3. I don't think there is a way. You can contact the OVPN team regarding this.

  0  
  0  
#8
Options
Re:Omada ER605 OpenVPN "Server Poll timeout"
Thursday

  @Tim_Tang Hi,

I had the same problem when using the ER605 as a downlink behind a NAT device.

From my experience: when I set up an Asus router as the VPN router with the same configuration as the ER605, the OpenVPN handshake failed. The reason was that return traffic to the VPN client couldn’t find the correct path back.

The solution is to add a manual route. For example, configure a static route so that traffic to the public IP of your OpenVPN client goes back through your upstream gateway (e.g., 192.168.1.1). Without this, the route is altered by the NAT device, and the response cannot reach the client.

  0  
  0  
#9
Options