Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
jespersh7010167dSo you enabled NAT Loopback?
ethernetzero1708167dDon't pull your hair yet. Accessing another machine on your internal network through the external address is called NAT hairpinning or NAT loopback. Looks like your router is good enough to support that. 😄
Here's the Wikipedia article about NAT hairpinning: https://en.wikipedia.org/wiki/...
@ethernetzero that seems fitting. This "fritz!box" thingy is a rather new addition to my hardware inventory, replacing my isp provided router (they wanted 2€/m to enable wifi on their device). I dont know how known they are in the world but in germoney i made good experience at various homes with them.
thanks for the pointing. I never heard of that function before
shelladdicted4889167dFritz!box are good products but they cannot help you this time.
Just keep the duckdns domain it will work fine (and free) and you can change it anytime you want, don't "waste" money for a domain that only you use
Use let's encrypt on the duckdns domain (certbot will take care of auto-renew)
keep the local ip in hosts file
Set a custom rule in dnsmasq for your duck domain that points it to you lan addr (search in osmc forum)
Set the pi (running pihole) as your lan dns server in the fritzbox.
Turn off ssl
(If you trust your lan it's not necessary)
Use just your lan ip (no domain)
When you are @ home -> works
When you are Outside use the vpn provided by Fritz!box and it will work again.
P.S: a pi is not a server its performance for things like own/next cloud sucks and thing get even worse with SSL on.
@shelladdicted the thing is..the fritz!box already helps me. Apparently NAT hairpinning is basically what i want which makes a local DNS resolve for [domainname]2[internalIP] unnecessary.
My rant was more about the fact that i dont understand why it does that.
I know that a RaPi is not server, buti do not posses the hardware and the will to foot the bill for it. A RaPi is a low powered device that apparently can run for years as a permanent network device. I am not advocating to use it as a nextcloud instance and the web interface is certainly slow as hell. But, for my purpose as a NAS with web interface that also provides an android app it works exactly duo specs.
About the pihole stuff. I wonder with how many raspberry pies i would end up if i would setup a new RaPi for every purpose i want.
Who needs Servers anyway? Army of raspberries it is. Tasty.
@erroronline1 its okay to not be able to "help". This isnt stack overflow or any other indian infested (err, no offense) place for low quality tech questions. If i would really care i would research it on my own.
For future reference, the behaviour i observed is called "NAT loopback". The router realizes that an DNS resolves to itself and therefore it uses its own port forwarding rules to deliver the correct device intended. Quite marvelous.
And i often thing "i need an adult"..unfortunatly they are all secretly thinking the same
shelladdicted4889167d@BurnoutDV I own the current Fritz!box flagship 7590.
the performance of a nextcloud file transfer letting him do the dns stuff (2 hops) sucks I get ~10MB/s
using hosts or enabling my custom dns server (pihole) allows me to get full gigabit speed (~110MB/s).
If you have a 3B+ (300Mbit ethernet) you should do more tests otherwise you're already getting the best performance you can get
you can run pihole on the same pi but yes another dedicated would be better
My "server" is an old broken laptop.
It really sucks takes more space and power than a pi but for gigabit, usb3 and sata ssd is worth it.
zerouplink218165dHmm, have you thought about using SDN like zerotier? It'll make your life easier. I have all my devices RPI, NAS, all hooked up to my zerotier network. Then I can access them via that network from anywhere. No need any NAT or port forwarding. Time Machine Backup works on it, as well as the Synology Drive which I used to sync my files to other devices. Side note, pi-hole ad blocking VPN also works on that network.
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job