H
H
Himura Carter2014-11-10 12:35:09
VPN
Himura Carter, 2014-11-10 12:35:09

How to properly configure routing between two routers?

Hello,
How to correctly register routes between two routers in order to access the local network from both sides?
Initial data:
router1 (ASUS RT-N14U, factory firmware):
1. Internet via PPPoE
2. DDNS (dyndns.org) to access the router from outside.
3. VPN pptp server with address range: 192.168.10.1.....11
4. Router address 192.168.0.1 and respectively DHCP 192.168.0.2....11, mask 255.255.255.0
router2 (TP-Link WDR3600 OpenWRT Barrier Breaker self-assembly)
1. Internet at a static gray address from the provider.
2. DDNS (dyndns.org)
3. Router address 192.168.1.1 and DHCP respectively 192.168.1.2....11, mask 255.255.255.0
4. Added pptp-vpn interface to connect torouter1 via router1.dyndns.org . The tunnel is up, but there is no access to local resources. Ping doesn't work.
For complete happiness, there is not enough access to the local network. What routes to prescribe in order to be able to use the local resources of both routers?
Thank you for your attention!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya T., 2014-11-13
@Insaned

I do not know the device details of specific routers, but the idea is this
1. Nail the pptp address. Those. make it so that P2 always receives the same address for example ... 10.11
2. On P1: route
192.168.1.1 255.255.255.0 192.168.10.11

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question