You are not logged in.
Hy!
I've setup a webserver (apache) in may arch (updated) with ssl. If i'm in my local network where is the server, i can correctly connect my site (nextcloud) typing http://192.168.xx.xx/nextcloud. If i'm out of my lan i can correctly connect my site typing https://xxx.ddns.net/nextcloud (i've dynamic ip, so i use NOIP service).
My problem is that i need to connect my server from my lan but typing the same external address https://xxx.ddns.net/nextcloud. Actually if i try to make that i can't access to my site because my browser say "Connection not sure".
Can anyone help me to solve that?
Thanks!
Last edited by felixita (2017-05-19 20:50:48)
Offline
You should configure NAT loopback in your router settings, or add entry to /etc/hosts in your system.
Second option only works for that system where is configured, first for whole network.
Last edited by LeserGd (2017-05-18 23:02:47)
Offline
You should configure NAT loopback in your router settings, or add entry to /etc/hosts in your system.
"Hairpin" is the correct term; loopback is the internal local interface (eg, lo0).
Second option only works for that system where is configured
Suitable for machines that stay on the network -- for a laptop that roams between intside and outside you want to use option 1.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Thanks for your help. My router is a Mikrotik. I will try to configure it following some guide in Mikrotik forums.
Ciao!
Offline
Ok, i've solved following this guide https://freek.ws/2016/11/21/mikrotik-ha … or-dummies
Thank you again!
Offline