Hello, I appreciate the help for the following problem.
I have 3 tablets that connect via Wi-Fi in the same IP range 192.168.1.0/24 of the computers' LAN and they have software that they run and must connect to a server so that it downloads the data and it delivers information .
So do a portforwarding in the router rule and it connects to that server as long as it doesn't connect to the Wi-Fi network.
If these computers then connect to the Wi-Fi service of the router, they cannot connect to the server.
How can I make it so that when it connects to the Wi-Fi network, it connects to the server by DNS address and not by local IP?
What I did was create an openvpn service and assign it a local IP and in this way if it achieves the connection what happens is that in this way the computer sometimes loses the connection because it does not have a good connection.
If someone can help me to carry out the portforwarding and that when I am in the Wi-Fi lan I can find the equipment by this way, I would appreciate solutions.
Thank you.
Greetings