OpenVPN
Access Server(1.7.0)の動かし方
インストールと自動起動
対象をCentOS5.5(32bit)とする。
- OpenVPNのサイトから「openvpn-as-1.7.0-CentOS5.i386.rpm」をダウンロードし、通常通りrpmコマンドでインストール。
Preparing... ########################################### [100%] 1:openvpn-as ########################################### [100%] The Access Server has been successfully installed in /usr/local/openvpn_as Configuration log file has been written to /usr/local/openvpn_as/init.log Please enter "passwd openvpn" to set the initial administrative password, then login as "openvpn" to continue configuration here: https://*.*.*.*:943/admin To reconfigure manually, use the /usr/local/openvpn_as/bin/ovpn-init tool. Access Server web UIs are available here: Admin UI: https://*.*.*.*:943/admin Client UI: https://*.*.*.*:943/
この時点で以下が行われている。
- /usr/local/openvpn_as以下に構成ファイルがインストールされている。
- openvpn, openvpn_asというユーザが登録されている。
- デフォルトの設定でaccess serverが起動している。
- iptablesにも勝手に設定がされている(iptables -Lで確認)
- /etc/rc.d/init.d/openvpnasが作成済
以前のopenvpn_asではovpn-initを行わないと動作させることができなかったのだが、 このバージョンではインストールすると同時にデフォルトの設定で起動され、ブラウザからの管理者ログインが可能な状態になっている。
ブラウザでの管理者ログイン
ブラウザで「https://*.*.*.*:943/admin/」を表示させる。使用されているのはオレオレ証明書なのでその旨警告される。
古い情報
※※※ 以下の情報は古いです