ghell2000 wrote
Openvpn is running on a sinology nas in France. Clients are running on windows 10 in Brazil.
BTW you might want to consider a site-to-site tunnel if all these clients are at one location.
ghell2000 wroteIn the config file xxx.ovpn the parameter “redirect-gateway def1” is present.
At first it worked fine. That is I could access my LAN in France and my public IP was French.
Then suddenly it was impossible to access the web via France.
Curiously, in spite my IP was Brazilian, the advertisements linked to my geographical position consider I am in France.
I just don’t understand!
Has anyone any idea?
We're not seeing what you are seeing. If you showed us evidence we might be able to answer better.
- What was logged on the server?
- What was logged on the clients?
- How did you check your public IP address?
HTTP targeting of advertisements most likely uses other sources of information than mere geolocation lookups of your IP address. None of that would be on topic here. Show us actual information that says your gateway should have been redirected, and evidence that it was not. Then maybe we can help.
regards, rob0