rcp -p dip:/usr/local/gnudip/client/UNIX/gdipc/bin/gdipc.pl  /usr/local/bin/
/usr/local/bin/gdipc.pl -c -f /usr/local/etc/gdipc.conf

Using Update Configuration Mode
Configuration file name: /usr/local/etc/gdipc.conf
Username: home
domain: zenno.info
Connect by direct TCP (d) or web server (w) [d]: w
GnuDIP Server - host[:port]: dip.zenno.net
Server URL [/gnudip/cgi-bin/gdipupdt.cgi]:
Password: ********
Cache File [/usr/local/etc/gdipc.cache.home.zenno.info]:
Minimum Seconds Between Updates [0]:60
Maximum Seconds Between Updates [2073600]: 3600
echo '#\!/bin/sh' > /usr/local/etc/rc.d/gdipc.sh
echo '' >> /usr/local/etc/rc.d/gdipc.sh
echo '/usr/local/bin/gdipc.pl -f /usr/local/etc/gdipc.conf -d 60  > /dev/null &' >> /usr/local/etc/rc.d/gdipc.sh
またNATの内側ならば
# echo '/usr/local/bin/gdipc.pl -f /usr/local/etc/gdipc.conf -d 60 -g 10000:10001 > /dev/null &' >> /usr/local/etc/rc.d/gdipc.sh

理由は↓
You must configure the NAT box to redirect some external UDP port to a UDP port on the internal machine running the client.
You provide these port numbers to the client using the -g option.
って事なのでルーターの設定も忘れ無い事。

cat /usr/local/etc/rc.d/gdipc.sh
chmod +x /usr/local/etc/rc.d/gdipc.sh

FreeBSD


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2010-12-29 (水) 18:00:07 (5094d)