-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtargets.cfg.example
More file actions
57 lines (49 loc) · 1.31 KB
/
targets.cfg.example
File metadata and controls
57 lines (49 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# *** VoXY Proxy 設定ファイル例
# === ユーザーの設定
#
# 書式:
# [user:ユーザ名]
# password=str:パスワード
# targets=このユーザがアクセス可能なサーバIDのリスト
# 以下例:
# ユーザ名: test パスワード: pass このユーザは、server1,vm1,vm2にアクセス可能
[user:test]
password=str:pass
targets=server1,vm1,vm2
[user:test2]
password=str:pass
targets=server1,notepc
# === アクセス対象のVNCサーバの設定
#
# 書式
# [target:サーバID]
# host=VNCサーバのIPアドレス
# port=VNCサーバのポート (通常は5900 + ディスプレイ番号)
# pwd=VNCサーバのパスワード
# cmd_vmstart=対象サーバを起動するためのコマンド
# cmd_vmstop=対象サーバを終了するためのコマンド
# cmd_vmstart/cmd_vmstopは省略可
# 以下例:
# サーバID: server1
# VNCサーバ情報: 192.168.0.11 VNCディスプレイ0 (port 5900)
# VNCサーバパスワードなし
[target:server1]
host=192.168.0.11
port=5900
pwd=
[target:vm1]
host=192.168.0.12
port=5901
pwd=
cmd_vmstart=./qemuctl.sh vm1_start
cmd_vmstop=./qemuctl.sh vm1_stop
[target:vm2]
host=192.168.0.13
port=5902
pwd=
cmd_vmstart=./qemuctl.sh vm2_start
cmd_vmstop=./qemuctl.sh vm2_stop
[target:notepc]
host=192.168.0.14
port=5900
pwd=xxxx