I need some help, as my Network-IT-skills are not good enough.
First I want to apologize for my English. Im from Germany.
Ive the following setup:
-Linux Server (Debian9) with OpenVPN-Server installed
-10 Routers (Nexx WT3020H) with LEDE 17.01.4, OpenVPN/depencies installed
I generated the client.ovpn files on the Server and copied them to the router. After that I did the clientconfig as described in the OpenWRT-Wiki.
So far, so good. If I start the router it connects to the VPN. If I test my IP in a Browser it shows the IP from the Server.
Now Ive one problem.....or letz say I dont understand it exactly.
The LAN-IP of the router is 192.168.1.1 (So DHCP gives IPs in this range to devices that are connected to LAN. The VPN-Server IP is 10.8.0.1
If I connect to the VPN from my Windows-Computer I get the 10.8.0.2
But my problem is, that on the OpenWRT-router is has this 192.168.1.*-range.
I really like to have it that way, that I have my routers in the IP-range from 10.8.0.50-10.8.0.60. So if I connect to the VPN from my Windows-machine I simply can connect to the IP I wish to transfair data.
It is important that I can access all devices that are connected to the LAN-Ports of the routers. Nobody has access to the LAN-Ports,so I dont need to seperate Networks, or stuff like that.
I hope someone understand what I mean,as I find it hard to describe.
A good start for me where if someone could help me, that for example one router gets the 10.8.0.50 so I try to ping it from my Desktop (10.8.0.2). I was not able to manage this
Any help is welcome