Skip to content

To knowing your real ip on the internet , this script could through under the NAT environment , and do the ssh actions from outdoor to your home .

Notifications You must be signed in to change notification settings

michael520/currentip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#CurrentIP python script ##Usage

Rename the sample_setting to base_setting.ini .

for example :

mv sample_setting base_setting.ini

###Set the script to crontab .

crontab -e

###input this command :

*/30 * * * *    python /home/to/myhom/scriptdir/getmyip.py

admire the stars with a 'tab'

##Settings

Edit the email login info in base_setting.ini .

  • notify_to_email - input the email you want to send.
  • sender - set a name@localhost for your server.
  • server - input the smtp server want to connect.
  • port - smtp server port for example the google smtp is 587.
  • name - login email account.
  • password - login email password .

About

To knowing your real ip on the internet , this script could through under the NAT environment , and do the ssh actions from outdoor to your home .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages