Hi,
It is some time since I last posted as everything had been working fine but a house fire at Easter changed all that! All got out safely but lots of damage to the house and contents. Among the casualties were all the computers and associated equipment. Yes I did have backups in the house next door (mine as well) but that was also destroyed in the same fire. So sadly I have had to start all over again in the rental house we are now in. I have tried my best using the guides and my previous posts when it was first set up but have still encountered some difficulties.
The details of my equipment are as follows:
ISP - Free mobile (France) and no, it is not free.
ISP Router - TP-LinkArcher MR600 running a 4/5G SIM card (there is no fixed line or other connection in the rental house)
OpenWRT router - NewWiFi-D2 (labelled as LeCoo) with preinstalled OpenWRT:
Hostname | OpenWrt |
---|---|
Model | Newifi-D2 |
Architecture | MediaTek MT7621 ver:1 eco:3 |
Target Platform | ramips/mt7621 |
Firmware Version | OpenWrt 21.02.2 r16495-bf0c965af0 / LuCI openwrt-21.02 branch git-22.046.85957-59c3392 |
Kernel Version | 5.4.179 |
The ISP router is set to 192.168.1.0/24 with WiFi SSID of MBD
The OpenWRT router is set to 10.0.0.0/24 with WiFi SSID of MBD5G and MBD2G
The OpenWRT router WAN interface set to 192.168.1.20/24
The routers are connected from the OpenWRT WAN output to a standard LAN input on the ISP router
When I connect to the OpenWRT router (as 10.0.0.40) I can ping both networks successfully and manage both router control panels on 10.0.0.1 and 192.168.1.1 respectively.
When I connect to the ISP router (as 192.168.1.40) I can only ping the 192.168.1.0/24 network. I cannot access the 10.0.0.0/24 network at all. Consequently I can only see the ISP router control panel.
I initially set the system up as a basic connection and assumed that using the gateway (192.168.1.1) would automatically pick up the DNS settings but this was not the case. I could ping the internet by IP address but not by dns name. I could not find much information in the guides about DNS settings but I eventually set custom DNS servers as 8.8.8.8 and 8.8.4.4. and since then I have been able to resolve addresses successfully when on the OpenWRT connection (using 10.0.0.40).
I have installed OpenVPN on the OpenWRT router (the main purpose of this exercise) together with Policy Routing. I have installed a working client configuration (working on my OpenVPN Connect app) but it will not connect from the OpenWRT router. Ultimately I will want to use policy routing for some of the equipment but this will have to wait until I can get the OpenVPN connection working.
So to my questions which I am happy to take one at a time. Please tell me if I need to load further information, logs etc.
Q1. Why did I need to insert the DNS records? Should the default gateway have worked and if so why has mine not?
Q2. Why can I not see both networks from the main ISP router? What do I need to tweak to make this happen?
Q3. Why can I not connect to my VPN? (I know I will need to post a lot more detail on this but could you tell me what to start with please?)
Thanks in advance,
Geoff