Hello everyone,
First of all I apologize for my English as I am going through a translator.
Then I apologize for my network level which is close to zero, despite my many searches.
Warning this post is for those who like racking their brains
I come to ask for help, because after 5 days of testing all the possible settings, and seeing no results, I confess that I no longer know what to do to successfully regain my internet connection.
I will try to be as precise as possible, because it is possible that I have several problems, as it is possible that I have only one.
For the history I already had a connection with a modem configured as a gateway, and OpenWRT behind it which worked great.
There was an electrical problem one day outside my home, (explosion of a transformer) which cut me off for several hours of electricity. After the cut the router turned on again and had the lights on.
There I already know more, it's after my Linksys WRT3200ACM router could no longer give me access to the internet (at the name resolution level), or if it's after a firmware update...
- So I disconnected / reconnected, (by emptying the stagnant electricity inside) NOK.
- I decided to reset the configuration: NOK
- I changed firmware: NOK
- I tested my internet connection, by removing the router and switching the modem back to router mode, and my connection was OK (domain resolution OK).
- In my network architecture I have a domain server ServKaz.nohost.me (self uploaded via the Yunohost solution). I thought that the domain resolution problem might come from there, so I did a test by unplugging it, and it's the same... NOK
To simplify things a bit, otherwise it's no fun, I just changed my public IP after switching my internet connection to Fiber.
I saw on the Yunohost site that the domain IP should update automatically after a few minutes, but since I no longer have a domain name resolution, the update does not happen. (I don't know if it can have an influence or not)
After 5 days of testing all the possible and imaginable parameters (a little at random, setting google's DNS, activating masking, activating SNAT, modifying the /etc/config/network file, the /etc/config/firewall file , etc...) I therefore decided to start again on a healthy basis, and delete all the settings that I had tried on OpenWRT to be sure that it did not come from the configuration (via System/Back Up / Fash Firmware /reset to defaults/Perform reset), and it didn't change anything, but I told myself that before asking for help, I might as well leave with files that are free of any modifications.
Finally, here are the results of the following tests:
- Ping openwrt.org: NOK bad address
- Ping 8.8.8.8: NOK 100% packet loss
- Openwrt.org traceroute: OK (the only thing that works)
-Traceroute 8.8.8.8: OK - Nslookupopenwrt.org: ? (I don't think it's good)
Server: 127.0.0.1
Address: 127.0.0.1:53
Non-authoritative answer - Nslookup 8.8.8.8: NOK: ;; connection timed out; nor servers could be reached
I also followed the OprnWRT documentation which told me to add the gateway and the DNS, but having obtained nothing as a result, I put back without gateway and without DNS, since the problem seems to be more that complex
here is my setup:
- Modem in gateway mode (88.182.xxx.xxx)
- Linksys WRT3200ACM router with OpenWRT 22.03.2 (192.168.1.1)
- Proxmox 7.3-6 virtualization server running a VM (192.168.1.111)
- VM Yunohost (domain server) (192.168.1.101)
I can provide you with the network and firewall files, but they are empty (except for the "Modem" interface that I added following the OpenWRT user manual to connect your router to your modem)
Thanking you in advance for taking the time to read me and taking the time to help me.
And hoping it's not a hardware problem, and just a little configuration that I did wrong.
P.S. The local network is working fine.