반응형

DDNS 서비스를 해주는 No-ip의 DDNS 클라이언트를 이용하여 CentOS에 설치하는 방법을 설명한다.

우선 No-ip 에 가입되어 있어야 한다. 그리고 CentOS에서는 GCC와 Make 등이 실행가능하도록 준비하자

yum install gcc, make



웹사이트에서 가입후 설정이 끝났다면 클라이언트를 받아오도록 하자

Linux Client          Windows Client   MacOSX Client


[root@localhost ]#wget https://www.noip.com/client/linux/noip-duc-linux.tar.gz

[root@localhost ]#tar zvxf noip-duc-linux.tar.gz

[root@localhost ]#cd noip-2.1.9-1

[root@localhost ]#make

[root@localhost ]#make install


You will then need to answer the following prompts:


Please enter the login/email string for no-ip.com


(Email account that you used to set-up no-ip account from their website)


Please enter the password for user 


(Password that you used to login to no-ip website)


Please enter an update interval: [30] 30


(Increments in minutes that you want no-ip client to check if your router’s external dynamic IP address has changed and updates it accordingly.)


Do you wish to run something at successful update? [N] (y/N)


설정화면에서 ID, Password, Interval 을 각각 입력하여 준다.


일반적인 실행은 

[root@localhost ]#/usr/local/bin/noip2


부팅시 자동으로 시작하고자 할때는 

[root@localhost ]#echo ‘/usr/local/bin/noip2’ >> /etc/rc.local


부가적인 옵션 파라미터

[root@localhost ]#/usr/local/bin/noip2 -C              //클라이언트 설정

[root@localhost ]#/usr/local/bin/noip2 -S              //실행중인 클라이언트 정보 표시

[root@localhost ]#/usr/local/bin/noip2 -U              //Intervals 변경




반응형