Hacker News new | past | comments | ask | show | jobs | submit login

i have a systemd cron job (timer) that runs miniupnpc every couple minutes to ask the router to set up firewall rules that a box needs. for now i still manually update my home's dns records whenever there's a power outage and therefore new ip address. but i'll be building something dor dynamic dns soon enough.

but a couple boxes also ssh into a vps, and forward their own ssh ports to the vps, so i can jump into them indirectly if the main door/direct ssh way isnt working. this is also an ok way to expose ports on the internet if i want them proxied, if i need rate limiting.




I made a dumb script to handle my dynamic IP back before I knew of a better way and before I got a static IP. It checked my IP, compared it to the last check, and if different, posted the results to my private Slack channel.

Then I just altered the IP on connection. It actually changed very rarely but until I learned of better ways, I liked it.


Damn, that you need to do all of that ... My router (FritzBox) allows selecting a device to forward specific ports from and even supports DynDNS.


i've maintained router side tables for years. i actually prefer just having devices able to set themselves up.

even if i go to a friends house with a system, it should have a good chance of configuring itself there too. that's one huge advantage. mostly though i just dont want the centealization, dont want to be thinking about configuring routers.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: