Skip to content

A small program to check your home's IP 24/7. If the IP changes then an email will be sent to yourself using Gmail SMTP.

License

Notifications You must be signed in to change notification settings

eltociear/checkhomeIP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CheckHomeIP

A small and lightweight program to monitor your home IP 24/7 and send an email to yourself using SMTP. Useful for people who don't have DDNS and need to know if their ISP assigned IP has been changed.

Getting started

To get started, fill out checkip.env with the SMTP host and credentials you wish to use. Thats it! Just compile and run.

This has only been tested wth GMail SMTP. Other hosts may not work.

Systemd service setup

To enable systemd service automation, edit checkip.service and change the lines containing ExecStart= and WorkingDirectory= to where the binary is in your filesystem. Be sure to put the folder path and not binary path for WorkingDirectory=

Once done, change the line User=user to the user account you wish the service to run as and copy/move the file to /etc/systemd/system/

Finally, enable the service and start it using systemctl enable --now checkip.service

About

A small program to check your home's IP 24/7. If the IP changes then an email will be sent to yourself using Gmail SMTP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%