Linux restund server setup tutorial

Source: Internet
Author: User
Tags auth error handling syslog

Address: http://www.creytiv.com/restund.html

1. Install libre

Wget http://www.creytiv.com/pub/re-0.4.12.tar.gz

Make

Make install

2. Install librem

Wget http://www.creytiv.com/pub/rem-0.4.6.tar.gz

Make

Make install

3. Install restund

Wget http://www.creytiv.com/pub/restund-0.4.11.tar.gz

Make

Make install

4. Configure restund

Cp etc/restund. */etc/

[Root @ fs restund-0.4.11] # grep-v "#"/etc/restund. conf

Daemon yes

Debug yes

Realm myrealm

Syncinterval 600

Udp_listen XX. XX: 3478

Udp_sockbuf_size 524288

Tcp_listen XX. XX: 3478

Module_path/usr/local/lib/restund/modules

Module stat. so

Module binding. so

Module auth. so

Module turn. so

Module filedb. so

Module syslog. so

Module status. so

Auth_nonce_expiry 3600

Turn_max_allocations 512

Turn_max_lifetime 600

Turn_relay_addr XX. XX

Turn_relay_addr6: 1

Filedb_path/etc/restund. auth

Syslog_facility 24

5. Start restund

Error handling:

Restund: error while loading shared libraries: libre. so: cannot open shared object file: No such file or directory

[Root @ fs restund-0.4.11] # cat/etc/ld. so. conf. d/restund. conf

/Usr/local/lib

[Root @ fs restund-0.4.11] # ldconfig

[Root @ fs restund-0.4.11] # restund-d/etc/restund. conf

Udp listen: XX. XX: 3478

Tcp listen: XX. XX: 3478

Stat: module loaded

Binding: module loaded

Auth: module loaded (nonce_expiry = 3600 s)

Turn: lifetime = 600 ext = XX. XX ext6 =: 1 bsz = 512

Filedb: module loaded (/etc/restund. auth)

Syslog: module loaded facility = 24

Status: module loaded (udp = 127.0.0.1: 33000 http = 127.0.0.1: 8080)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.