NoIP Client Configuration

To Install the Client

From here: https://www.noip.com/support/knowledgebase/install-linux-3-x-dynamic-update-client-duc

sudo apt update sudo apt install -y net-tools

wget –content-disposition https://www.noip.com/download/linux/latest tar xf noip-duc_3.1.1.tar.gz sudo dpkg -i noip-duc_3.1.1/binaries/noip-duc_3.1.1_amd64.deb sudo apt install -yf

noip-duc –username –password –hostnames –ip-method ‘aws-metadata’ -v

Create and Install noip2 as a Service

Improved instructions for installing as a service, from here:

Create the file /etc/systemd/system/noip2.service with the following content (and drop your init.d scripts):

cat <<EOT | sudo tee /etc/systemd/system/noip.service
[Unit]
Description=No-ip.com dynamic IP address updater
After=network.target
After=syslog.target

[Service]
Type=forking
ExecStart=/usr/bin/noip-duc --username <username> --password <password> --hostnames <hostname> --ip-method 'aws-metadata' -v
Restart=always

[Install]
WantedBy=default.target
EOT

Then issue

sudo systemctl daemon-reload
sudo systemctl enable noip
sudo systemctl start noip
sudo systemctl status noip

Other Useful commands:

sudo systemctl stop noip
sudo systemctl disable noip

From Source

  1. Go to noip’s dynamic update client for ubuntu (noip3)

  2. follow directions up through making:

    You will be able to install No-IP.com’s DUC on Ubuntu in just a few minutes with Terminal.

  3. Once you have opened your Terminal window, log in as the “root” user. You can become the root user from the command line by entering “sudo -s” followed by the root password on your machine.

    prerequisites

    sudo apt update
    sudo apt install -yf build-essential
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    # unnecessary?
    #sudo apt install -y rustup
    

    close and reopen terminal or type source “$HOME/.cargo/env”

    cd ~/Downloads
    wget https://dmej8g5cpdyqd.cloudfront.net/downloads/noip-duc_3.1.0.tar.gz
    tar xf noip-duc_3.1.0.tar.gz
    cd noip-duc_3.1.0
    cargo build --release
    sudo cp target/release/noip-duc /usr/local/bin
    

Other Resources