#vpn #openvpn #linux-macos #cli

app fvpnc

An unofficial command-line client for Namecheap's FastVPN for Linux

2 releases

0.1.3 Oct 4, 2023
0.1.2 Oct 4, 2023
0.1.1 Oct 4, 2023
0.1.0 Oct 3, 2023

#5 in #openvpn

MIT license

21KB
358 lines

fvpnc

An unofficial command-line client for Namecheap's FastVPN for Linux, written in Rust 🦀 🦀 🦀.

THIS IS ONLY INTENDED TO BE USED IN LINUX.

fvpnc can also be used in macOS. However, you are limited to only OpenVPN. To take advantage of WireGuard or IKEV2 download the official client for macOS

Dependencies

All of the cargo dependencies could be found here

However, fvpnc depends on OpenVPN being installed on your machine. Below are the commands to execute to install OpenVPN

Linux

sudo apt update && sudo apt install openvpn -y

MacOS

brew install openvpn

Make sure that it's included to your PATH. Add this line to the end of your shell config (.bshrc, .zshrc, etc..)

export PATH="/usr/local/opt/openvpn/sbin:$PATH"

Usage

An unofficial command-line client for Namecheap's FastVPN for Linux

Usage: fvpnc <COMMAND>

Commands:
  status      Status of the connection
  cities      List all available cities
  disconnect  Disconnect from a server
  connect     Connect to a server
  help        Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

For now, fvpnc is using OpenVPN to connect to the server. IKEV2 and WireGuard could be supported in the future.

Authentication

When you initially run fvpnc, it will ask for your credentials that could be found at here

Connecting

Connecting to a server is fairly easy, you just simply need to know which city you want to connect to and set your protocol.

fvpnc connect --udp Dallas

The command above will connect us to the Dallas server

Disconnecting

Disconnecting to the server, you simply run the following command:

fvpnc disconnect

Dependencies

~16–31MB
~437K SLoC