go install github.com/fadinflame/easyconnect@latestAfter installing EasyConnect, ensure the GOPATH/bin directory is added to your system PATH. This allows you to run easyconnect from anywhere in the terminal.
On Linux/macOS, add the following line to your shell configuration file (e.g., ~/.bashrc or ~/.zshrc):
export PATH=$PATH:$(go env GOPATH)/binOn Windows, update your system environment variables to include $(go env GOPATH)\bin.
Apply the changes by restarting your terminal or running:
source ~/.bashrc # or source ~/.zshrceasyconnectAt the first run, EasyConnect will prompt you to create a configuration file.
Or you can create one manually.
To configure EasyConnect, create a configuration file named config.json in the same directory as the executable
The configuration file is located at ~/.easyconnect/config.json on Linux and %AppData%/easyconnect/config.json on Windows.
{
"server": "Your VPN Server",
"group": "Your VPN Group",
"username": "Your VPN Username",
"password": "Your VPN Password",
"cisco_logs": false
}You can enable Cisco AnyConnect VPN logs by setting the cisco_logs field to true in the configuration file.
{
"server": "Your VPN Server",
"group": "Your VPN Group",
"username": "Your VPN Username",
"password": "Your VPN Password",
"cisco_logs": true
}This project is released under the MIT License.