Hello everyone,
I'd like to be able to connect to my machine at home when I need to. Problem is that my IP is dynamic therefore I don't remember it, that's why I'd like to have DNS entry pointing to it, for example:
home.mydomain.tld
I do have a domain, my own dedicated server with static IP and it's running BIND. So all components are in place. And since I'm a bit paranoid I'd like to avoid unnecessary ssh auto logging/opening new ports.
So far my idea is to send some prepared ICMP packet to my DNS server (protected by pf), where cron running script can run nsupdate to alter BIND config files, for example:
Obviously this solution is far away from being perfect (eg. if <number> is guessed).
Probably some of you already faced similar situation and are able to provide some solution.
Thank you
I'd like to be able to connect to my machine at home when I need to. Problem is that my IP is dynamic therefore I don't remember it, that's why I'd like to have DNS entry pointing to it, for example:
home.mydomain.tld
I do have a domain, my own dedicated server with static IP and it's running BIND. So all components are in place. And since I'm a bit paranoid I'd like to avoid unnecessary ssh auto logging/opening new ports.
So far my idea is to send some prepared ICMP packet to my DNS server (protected by pf), where cron running script can run nsupdate to alter BIND config files, for example:
Code:
ping -c1 -s<number> mydomain.tld (DNS server)
Obviously this solution is far away from being perfect (eg. if <number> is guessed).
Probably some of you already faced similar situation and are able to provide some solution.
Thank you
