OpenVPNクライアント設定

Nid: 702

クライアントの設定ファイルを記述します。

C:\Program Files\OpenVPN\config\client.ovpn

タスクトレイのOpenVPN GUIアイコンを右クリック、「設定の編集」

client
dev tun
proto udp
remote 123.456.789.999 1194
persist-key
persist-tun
ca ca.crt
cert client_pc1.crt
key client_pc1.key
comp-lzo
tls-auth ta.key 1
keepalive 10 60
cipher AES-128-CBC
# $ sudo cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /etc/openvpn
# for Linux Client
script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

remoteはOpenVPNサーバのアドレスとポート番号、cipherはサーバで指定した暗号化方式。