NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
jimbo67
Sep 30, 2024Aspirant
PR60X Managing hosts file
Hello, for some reasons i would need to update the hosts file of the touteur ( cannot access lan website using names and ssl with wireguard since i left cloudflare for a cheaper solution ). But ...
jimbo67
Sep 30, 2024Aspirant
Hi c3po2.
IT small structure is behind the pr60x.
But i am only using wan2 port 5 reconfigured and port 10g is connected to a ms510xtup.
Wan1 is connected to the 4g backup my isp provided and is rarely used.
Services are hosted at office.
Vpns have access to all vlans.
This is for the short config.
When i was using cloudflare as a proxy everything worked fine. Sometimes with some headache with cloudflare tunnels.
Than i decided to host again everyrhing
at office.
Than i encountered this problem.
I can access everithing using ip with vpn.
But from wan to lan the domain name doest resolv with the vpn.
The trick to use another port on the prx60 for the servers worked to acess domain name from lan again.
But it didnt to acess the domain name with the vpns.
Nat hairpin trick with physical port change for lan loopback isnt enough to make it work.
And i have no idea how to fix this.
IT small structure is behind the pr60x.
But i am only using wan2 port 5 reconfigured and port 10g is connected to a ms510xtup.
Wan1 is connected to the 4g backup my isp provided and is rarely used.
Services are hosted at office.
Vpns have access to all vlans.
This is for the short config.
When i was using cloudflare as a proxy everything worked fine. Sometimes with some headache with cloudflare tunnels.
Than i decided to host again everyrhing
at office.
Than i encountered this problem.
I can access everithing using ip with vpn.
But from wan to lan the domain name doest resolv with the vpn.
The trick to use another port on the prx60 for the servers worked to acess domain name from lan again.
But it didnt to acess the domain name with the vpns.
Nat hairpin trick with physical port change for lan loopback isnt enough to make it work.
And i have no idea how to fix this.
jimbo67
Sep 30, 2024Aspirant
Also everything works fine from wan.
But i wan to acess it using vpn connected to the phones.
Yet my workaround is to access it using auth method throught https with a nginx proxie to redirect.
I can also use the vpn and access ressources with ip.
But i would prefer to acess it with the vpn using https with domain name.
Yea i know its absolutly overkilll and useless.
I dont want to start modify Android or Apple config file just for that.
But i wan to acess it using vpn connected to the phones.
Yet my workaround is to access it using auth method throught https with a nginx proxie to redirect.
I can also use the vpn and access ressources with ip.
But i would prefer to acess it with the vpn using https with domain name.
Yea i know its absolutly overkilll and useless.
I dont want to start modify Android or Apple config file just for that.
- c3po2Sep 30, 2024Apprentice
Thank you for detailed description, we will try to setup same network as yours to see if we can make improvements for your application.
- jimbo67Oct 08, 2024AspirantI modified the /etc/hosts file to match my domainename.eu on the server i use as the dns proxy running for local.
Than forced the router to use it to enjoy the loopback ability of the router.
It works fine using this setup but still not while using the vpn.
Only solution yet is to use cloudflare dns proxies to acess those domain with the vpn.
Well i'm not trying anymore to make the vpn work to access my domainname using my sertigo ssl on my services localy hosted.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!