A small CLI tool to handle Cyberghost VPN on Linux.
This is not a product of Cyberghost neither I am an employee of Cyberghost. Just a huge fan who loves their VPN service ❤️
npm i -g ghostie-cli
IMPORTANT: You need to install the cyberghostvpn CLI beforehand and you need an active Cyberghost subscription. Refer to their documentation here: https://support.cyberghostvpn.com/hc/en-us/articles/360020436274-How-to-install-the-CyberGhostVPN-CLI-App-on-Linux-
# List country codes
ghostie-cli -l
# List cities for a country
ghostie-cli -l -c US
# List servers for a city in a country
ghostie-cli -l -c US -i Washington
# Connect to a country
ghostie-cli -g -c US
# Connect to a city in a country
ghostie-cli -g -c US -i Washington
# Connect to a server in a city in a country
ghostie-cli -g -c US -i Washington -s washington-s409-i11
# List your favorites
ghostie-cli -f
# Save a favorite (Example)
# You can attach -x after any connect command to save it as favorite
ghostie-cli -g -c US -i Washington -x
# Connect to a favorite (Example you need to use the index of your favorite)
ghostie-cli -g -f 0
# Known issue (at least on my machine) - Does not reconnect ipv6 afterwards
ghostie-cli -d
PRs are appreciated because there is always room to improve and things to learn 😊
- Erek Röös - Initial work - Caringdeveloper
This project is licensed under the MIT License - see the LICENSE.md file for details