Skip to content

hlhr202/Openconnect-RS

Repository files navigation

OpenConnect for Rust

GitHub License Crates.io Version GitHub Release

GitHub Actions Workflow Status GitHub Actions Workflow Status GitHub Actions Workflow Status

This is a cross-platform GUI client for OpenConnect, written in Rust and designed to work seamlessly on Windows, Linux, and macOS desktop systems. The program utilizes various technologies including MSYS2, Tauri, React, and NextUI. It provides a user-friendly interface for connecting to VPN servers using both password and OIDC authentication methods.

Features

  • Cross-platform compatibility (Windows, Linux, macOS)
  • Easy-to-use GUI interface
  • Support for both password and OIDC authentication
  • Built with MSYS2, Tauri, React, and NextUI

Screenshots

Main

Edit

Connect

Build

  • Read the System Requirements for environment setup
  • Modify it to fit your environment (For automatic setup, its WIP)
  • For windows, since openconnect provides GNU automake, we currently only support MSYS2-MINGW64 and x86_64-pc-windows-gnu toolchain
    • Install MSYS2
    • Install x86_64-pc-windows-gnu toolchain with command rustup default stable-x86_64-pc-windows-gnu
    • Run cargo under MINGW64 shell

License

This project is licensed under the GNU Lesser General Public License (LGPL). See the LICENSE file for details.

Acknowledgements

Special thanks to (MORE THAN) the following projects and technologies for making this project possible:

Roadmap

Openconnect sys

  • Automatically build openconnect
  • Automatically search library path
    • Optimize search path for more cases

Openconnect core

  • implement safe ffi
  • implement password login
  • implement cookie login
  • implement ssl certificate validation
  • implement public key login

Client

  • implement password login
  • implement oidc login
  • implement logs
    • waiting tracing file rotation
  • implement CLI