5 UsefullfreeDNS
philc edited this page 2023-02-09 17:32:02 +01:00

...

Usefull freedns

Anonymous solution behind an email address for free. You can also register any domain and pay with bitcoin. Remember that to be anonyme on internet is nearly not possible. So as you know what to do to hide your identity behind your email or bitcoin public key, this solution is quiet simple.

(https://freedns.afraid.org/)[https://freedns.afraid.org/}]

Click on Dynamic DNS

freeDNS dynamic link

Choose a free available DNS like mooo.com or other then add townname.nationname it detects your current public IP address and create a redirection:

townanme.nationname.mooo.com => IP xx.xx.xx.xx

If your internet provider do not warranty a fix IP (mainly for internet pro) then you can add to your server the crontab. click on 'quick cron example' to get your url to check each 5 minutes and update freeDNS with your new IP (if it changed from the last 5 minutes ago previous test)

crontab -e
# You might need to include this path line in crontab, (or specify full paths)
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin

4,9,14,19,24,29,34,39,44,49,54,59 * * * * sleep 48 ; wget --no-check-certificate -O - https://freedns.afraid.org/dynamic/update.php?YWVjZFVoFDersdeghgd12SlFIeFBIOjIxMGfdt56E5 >> /tmp/freedns_townname_nationname_mooo_com.log 2>&1 &

Then you need to set your box to route request from port 80 or 443 to your server. We mainly have 2 options for this:

  • DMZ (Demilitarized zone): any external trafic is route to one machine

  • NAT (Network Address Translation) let you change external IP address and port to other IP and port into your LAN (local network).

Usualy acces to your local router in your browser with 192.168.1.1

Example with orange.fr operator in france: All external trafic is send to a dmsz 192.168.1.17 dmz orange

External IP (let tous) request on port X can be redirect to 192.168.1.17 to a new port nat orange