📢 Webサイト閉鎖と移転のお知らせ
このWebサイトは2026年9月に閉鎖いたします。
新しい記事は移転先で追加しております。(旧サイトでは記事を追加しておりません)
| 73行目: | 73行目: | ||
# <code>cyberghostvpn</code>コマンドを実行することにより、使用可能なコマンドのリストが表示される。 | # <code>cyberghostvpn</code>コマンドを実行することにより、使用可能なコマンドのリストが表示される。 | ||
<br> | <br> | ||
==== CyberGhost CLIのコマンド ==== | |||
接続先の全ての国(国のコード)を確認するには、以下のコマンドを実行する。<br> | |||
cyberghostvpn --traffic --country-code | |||
<br> | |||
接続先の国を選択するには、以下のコマンドを実行する。<br> | |||
cyberghostvpn --country-code <国のコード> | |||
例. cyberghostvpn --country-code DE | |||
<br> | |||
接続先の国の都市を選択するには、以下のコマンドを実行する。<br> | |||
cyberghostvpn --country-code <国のコード> --city <都市名> | |||
例. cyberghostvpn --country-code DE --city frankfurt | |||
<br> | |||
CyberGhost VPNに接続するには、以下のコマンドを実行する。<br> | |||
sudo cyberghostvpn --connect | |||
# または | |||
sudo cyberghostvpn --country-code <国のコード> --city <都市名> --connect | |||
例. sudo cyberghostvpn --country-code DE --city frankfurt --connect | |||
<br> | |||
また、接続先のサーバ名を知っている場合、特定のサーバに直接接続することができる。<br> | |||
sudo cyberghostvpn --server <サーバ名> --connect | |||
例. sudo cyberghostvpn --server frankfurt-s402-i01 --connect | |||
<br> | |||
VPN接続が有効かどうかを確認するには、以下のコマンドを実行する。<br> | |||
cyberghostvpn --status | |||
<br> | |||
VPN接続を終了するには、以下のコマンドを実行する。<br> | |||
sudo cyberghostvpn --stop | |||
<br> | |||
==== CyberGhost CLIのアンインストール ==== | ==== CyberGhost CLIのアンインストール ==== | ||
CyberGhost CLIをアンインストールする。<br> | CyberGhost CLIをアンインストールする。<br> | ||