openvpn client not finding multiple subnets

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

openvpn client not finding multiple subnets

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
openvpn client not finding multiple subnets
openvpn client not finding multiple subnets
2023-07-14 05:59:29
Model: ER7206 (TL-ER7206)  
Hardware Version: V1
Firmware Version: 1.3.0 Build 20230322 Rel.70951

Hi, it seems that this is the first time I've written here, but I don't know where else to look for help. I'll tell you about my problem. I have 2 networks in different cities connected by ipsec tunnel (site to site), the 2 networks have communication with each other, in the router of network 1 I create an openvpn server (client to site) to connect from outside those 2 networks, that is, from my house, but when I connect, I can't access network 2, I can only access network 1. I think I'm doing something wrong, but I don't have much knowledge of networks, so I chose Omada's solution, and I hope someone can help me
network 1 (ER7206)
192.168.10.0/24

network 2 (ER7206)
192.168.10.0/24

  0      
  0      
#1
Options
21 Reply
Re:openvpn client not finding multiple subnets
2023-07-14 08:15:50

  @RicardoVzqz 

it seems to be a subnet problem. two routers, right?

use different lan IP address for them. don't use the same 192.168.10.0/24 for both sites. 

ScReW yOu gUyS. I aM GOinG hoMe. —————————————————————— For heaven's sake, can you write and describe your issue based on plain fact, common logic and a methodologic approach? Appreciate it.
  0  
  0  
#2
Options
Re:openvpn client not finding multiple subnets
2023-07-14 18:18:14

  @Tedd404 an apology I wrote the ip wrong when creating the thread.screenshots of how I have each lan network configured

 

site 1site 2

  0  
  0  
#3
Options
Re:openvpn client not finding multiple subnets
2023-07-14 18:26:34

configuration of each site using IPsec

ipsec site 1ipsec site 2

  0  
  0  
#4
Options
Re:openvpn client not finding multiple subnets
2023-07-17 01:15:52 - last edited 2023-07-17 02:34:14

  @RicardoVzqz 

you created a vpn server on router 1, what is the subnet of the virtual IP for the vpn clients? is this subnet included in your ipsec site to site to router 2?

 

the guide: https://www.tp-link.com/en/support/faq/3363/

ScReW yOu gUyS. I aM GOinG hoMe. —————————————————————— For heaven's sake, can you write and describe your issue based on plain fact, common logic and a methodologic approach? Appreciate it.
  0  
  0  
#5
Options
Re:openvpn client not finding multiple subnets
2023-07-18 03:19:11

This configuration I use in the OpenVpn server.

 

In a moment I add the subnet to the ipsec tunnel to see if it works

OpenVpn Server  @Tedd404 

  2  
  2  
#6
Options
Re:openvpn client not finding multiple subnets
2023-07-18 03:40:48

  @Tedd404 I added the openvpn subnet to the ipsec tunnel but I didn't see any change I still can't access the site 2 network,

What they mention in the link that you put is not clear to me about adding the 2 networks and I see that they change the /24 for a /16. I didn't understand that very well. What should I do or correct?

  0  
  0  
#7
Options
Re:openvpn client not finding multiple subnets
2023-07-18 05:31:49

  @RicardoVzqz 

the subnet you set on the VPN should contain the IP address of site B. if no, it is not allowed in the routing table. 

you can try the same thing and test again. 

ScReW yOu gUyS. I aM GOinG hoMe. —————————————————————— For heaven's sake, can you write and describe your issue based on plain fact, common logic and a methodologic approach? Appreciate it.
  0  
  0  
#8
Options
Re:openvpn client not finding multiple subnets
2023-07-18 05:38:05

  @Tedd404 do i have to change the openvpn ip pool from 192.168.11.1/24 to 192.168.0.1/24?

  0  
  0  
#9
Options
Re:openvpn client not finding multiple subnets
2023-07-18 06:07:14

  @RicardoVzqz 

no. if you don't know subnet, go and search subnet calculator. you'll see why it is 192.168.0.1/16 instead of 192.168.0.1/24.

the logic is 192.168.0.1/16 contains/includes the subnet of 192.168.20.1/24, which you wants to route the traffic

ScReW yOu gUyS. I aM GOinG hoMe. —————————————————————— For heaven's sake, can you write and describe your issue based on plain fact, common logic and a methodologic approach? Appreciate it.
  0  
  0  
#10
Options
Re:openvpn client not finding multiple subnets
2023-07-18 06:16:13

  @Tedd404 So what change in my configuration? I only have to change the subnet on both sites of the ipsec tunnel or I only change the subnet on the openvpn server?. sorry I ask these questions but I don't have much experience in networks

  0  
  0  
#11
Options

Information

Helpful: 0

Views: 1899

Replies: 21

Related Articles