There is an office.The asus n66u(firmware from merlin) is installed as a router, the pptp server is running on the vpn server.The address of the router is inside the 192.168.1.1 network, the addresses issued by the vpn server are 192.168.1.90-192.168.1.99.The office has an external static address.
From home I create a vpn connection - I specify the external address of the router(the address of the router in the home network is 192.168.1.1), the username and password that I started and connect to - I get the address 192.168.1.90.
The problem is the following - there are various network devices in the network - ip cameras, servers, printers, etc.- they have addresses from 192.168.1.5 and further - I can go to their web-based management interface without problems, but when I try to access the 192.168.1.1 router - my local router(tp link) is opened for me.In an attempt to access via the phone via 3G(android, a vpn connection is created), I can get to the asus router in the office at 192.168.1.1.
As I understand the problem in routing - but I don’t know where exactly.I would like that when the vpn tunnel is connected - I could go to the router in the office at 192.168.1.1.
Change the address of the house, the network at home and in the office should be different.
This is not so important, in most vpn clients there is a possibility to use the server's vpn gateway, in the Windows client, something like the vpn connection properties - the network - a check mark on"use the default gateway"
The problem in any case is in the intersection of networks.Either in the office or at home you need to change the subnet.as you have a router, also the piece of iron itself.