Dealing with Frequently Changing Public IPs: No-IP DUC Script Setup

For situations where the public IP is constantly changing, install a background script using No-IP’s service:

  1. Install No-IP DUC Client:
   cd /usr/local/src
   tar xzf noip-duc-linux.tar.gz
   cd noip-2.1.9-1
   sudo make
   sudo make install
  1. Create and Configure the No-IP DUC Client:
   sudo /usr/local/bin/noip2 -C
  • You will be prompted to enter your No-IP username, password, and hostnames you wish to update.
  1. Run the No-IP DUC Client:
   sudo /usr/local/bin/noip2
  1. Check the No-IP DUC Client Status:
   sudo /usr/local/bin/noip2 -S
  1. Set Up Automatic Startup:
  • Edit the crontab:
    sudo crontab -e
  • Add the following line for auto-start:
    @reboot /usr/local/bin/noip2

留下评论

通过 WordPress.com 设计一个这样的站点
从这里开始