Connectio Failed tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified

Connectio Failed tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified

Connectio Failed tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified
Connectio Failed tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified
2024-11-15 09:48:18 - last edited 2024-11-20 00:58:53
Model: ER605 (TL-R605)  
Hardware Version: V2
Firmware Version: 2.2.6 Build 20240718 Rel.82712

I have added the following OpenVPN server in the router.

 

And I have created two users like this

 

 

I have exported the OpenVpn certificate and installed the same in the OpenVpn connect Client. (remote is ej in file is my public ip)

 

 

When I connect the first client there are no problems, it connects correctly

 

 

But if there is already a client connected to the OpenVpn tunnel and I try to connect another one, I get the following error

 

 

I don't understand where the problem could be. I can only use one client, it doesn't matter which one it is. If I connect computer A first and then computer B, computer A connects correctly and the connection works perfectly and computer B gives the error and vice versa.

 

Any ideas? I have tried with another Omada Er605 and other equipment and the problem is exactly the same.

 

Version of OpenVPN Client:

 

 

 

 

 

 

 

 

  0      
  0      
#1
Options
1 Accepted Solution
Re:Connectio Failed tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified-Solution
2024-11-19 09:08:15 - last edited 2024-11-20 00:58:53

  @JaketonCuatro My problem now is that when I changed the ip pool, it worked but today I have no access to the local network through the vpn.

Recommended Solution
  0  
  0  
#7
Options
8 Reply
Re:Connectio Failed tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified
2024-11-18 02:48:24

Hi @JaketonCuatro 

Thanks for posting in our business forum.

What do you mean by this?

 

Did you modify the IP to the public one so that the client can connect to your OVPN server on the public Internet?

Nothing's wrong with the config and router as far as I can see.

 

This error message seems to be something wrong with your OVPN software.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#2
Options
Re:Connectio Failed tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified
2024-11-18 08:17:07

  @Clive_A 

 

Did you modify the IP to the public one so that the client can connect to your OVPN server on the public Internet? -> YES (I do not show my public IP for security reasons.)

 

This error message seems to be something wrong with your OVPN software.-> I use OpenVPN Connect download from https://openvpn.net/client/client-connect-vpn-for-windows/

 

  0  
  0  
#3
Options
Re:Connectio Failed tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified
2024-11-18 08:18:31

Hi @JaketonCuatro 

Thanks for posting in our business forum.

JaketonCuatro wrote

  @Clive_A 

 

Did you modify the IP to the public one so that the client can connect to your OVPN server on the public Internet? -> YES (I do not show my public IP for security reasons.)

 

This error message seems to be something wrong with your OVPN software.-> I use OpenVPN Connect download from https://openvpn.net/client/client-connect-vpn-for-windows/

 

I am aware of that. The first post from you is provided with enough information. That's good.

But I did a quick search with this error and it is more of a problem with the OVPN client side, not the router side.

Do you have luck with the connection on any other devices? Tested?

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#4
Options
Re:Connectio Failed tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified
2024-11-18 11:36:34 - last edited 2024-11-18 11:38:41

  @JaketonCuatro I've exactly the same issue for a few days. Did you manage to find a solution ?

Tested on 5 devices with different versions of open vpn clients...

  0  
  0  
#5
Options
Re:Connectio Failed tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified
2024-11-18 11:49:36

  @i-NPC 

 

From what I have been able to check, if the IP pool is in the same range as the local network, this problem occurs. For example, with 192.168.2.0/24 in the IP pool, it works. But I don't understand why this error occurs.

 

  0  
  0  
#6
Options
Re:Connectio Failed tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified-Solution
2024-11-19 09:08:15 - last edited 2024-11-20 00:58:53

  @JaketonCuatro My problem now is that when I changed the ip pool, it worked but today I have no access to the local network through the vpn.

Recommended Solution
  0  
  0  
#7
Options
Re:Connectio Failed tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified
2024-11-20 09:14:49

  @JaketonCuatro from side your solution worked. Maybe you can check if joining directly the ip on the lan works ? If you use a Windows environnement you need to use the fqdn for dns request. thanks

  0  
  0  
#8
Options
Re:Connectio Failed tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified
2024-11-20 13:00:59 - last edited 2024-11-20 13:10:04

  @JaketonCuatro  OPENVPN WITH MASK /29 Allows only ONE open vpn client connection.

try /27 if you want multi clients

netmask in simple words it is just a number of available IP adresses from server. just leave it /24. 

 

Local network and IP pool must be DIFFERENT

set local network like your network in dhcp

set IP Pool any value like 10.1.2.3  /27

set primary dns your router local ip, i think it is 192.168.0.1

it will work

I advise you to set TCP protocol instead of UDP because of many problems with tcp traffic inside udp tunnel

 

and dont forget to export and rename configuration every time you change it.

  0  
  0  
#9
Options