AstLinux

提供: VoIP-Info.jp
2007年6月15日 (金) 20:36時点におけるVm-user (トーク | 投稿記録)による版 (OpenVPN と snmpd に関する記述を追加)
移動先: 案内検索

AstLinux Wiki のご案内

http://voip-info.jp/AstLinux/index.php

他の派生ディストリビューションも増えてきているので徐々にこの mediawiki に統合を検討中

AstLinux について

これは何? =>> Asterisk の機能を非常にコンパクトにまとめたLinuxディストリビューション

AstLinux は Asterisk と Linux カーネルをセットにした非常にコンパクトな Linuxディストリビューションです。
システムのサイズが非常に小さく、USBメモリーから起動することもできます。
ハードディスクでも動作しますがCFなどのデバイスにインストールをしても動作します。

インストール方法

CFへのインストールを参照

Asterisk の設定

色々な設定

AstLinux 0.4.5 での Asterisk 以外の設定を紹介します。

OpenVPN を利用するには

OpenVPN 2.0.9 が含まれています。

# openvpn --version
OpenVPN 2.0.9 i586-linux [SSL] [LZO] [EPOLL] built on Apr 22 2007
Developed by James Yonan
Copyright (C) 2002-2005 OpenVPN Solutions LLC <info@openvpn.net>

利用をするには rc.conf ファイルの中の設定を書き換えます。

###VPN Support
##AstLinux currently supports two types of VPN - racoon/KAME and
#openvpn.  Set your type here, more to come...
VPN=openvpn

VPN=openvpn ← ここをコメントアウトして必要な設定を書き込みます。  

#OpenVPN specific options
#All certs must be created manually.
#Suggest using the "easy-rsa" scripts that come with OpenVPN
#Perhaps on different machine, then copy the appropriate files
#Hopefully these can be created with a web interface in the future.
# NOTE:  if you are using astlinux in pbx only mode, you must enable ip_forwarding
# Both astfw and arno's firewall do this for you.
#VPN above must be openvpn
OVPN_DEV="tun"
OVPN_PORT="1194"
OVPN_PROTOCOL="udp"
OVPN_CA="/etc/openvpn/easy-rsa/keys/ca.crt"
OVPN_CERT="/etc/openvpn/easy-rsa/keys/server.crt"
OVPN_KEY="/etc/openvpn/easy-rsa/keys/server.key"
OVPN_DH="/etc/openvpn/easy-rsa/keys/dh1024.pem"
OVPN_SERVER="192.168.15.0 255.255.255.0"
OVPN_VERBOSITY="1"
OVPN_PUSH1="route 192.168.0.0 255.255.255.0"
OVPN_PUSH2=""
OVPN_PUSH3=""
OVPN_PUSH4=""
OVPN_OTHER1=""
OVPN_OTHER2=""
# Enable LZO compression on thevpn yes|no
# Requires additional cpu resources
OVPN_LZO="yes"

それ以外の設定をするには keydisk /mnt/kd/openvpn/ 以下に openvpn.conf というファイルを作成すると起動時に読み込まれます。

また、公開認証鍵などについては AstLinux 自身で作成することはできませんので別のPCで作成する必要があります。

SNMP を利用するには

snmpd 5.3.1 が含まれています。

# snmpd -version
NET-SNMP version:  5.3.1
Web:               http://www.net-snmp.org/
Email:             net-snmp-coders@lists.sourceforge.net

/etc/rc.conf には snmpd に関係する設定項目がありません。 keydisk の /mnt/kd/snmp/ 以下に snmpd.conf ファイルを作成すると起動時に読み込まれます。

質問やコメントについて

新設された掲示板をご利用下さい。

http://bbs.voip-info.jp/forum/index.php