OpenXG

Free and open source Sophos XG Authenticator

OpenXG is a free and open source Sophos XG authenticator built on my libopenxg library.

It was previously a CLI application, but it's now a GUI application built with egui with additional features. OpenXG is written in Rust.

Advantages




Installation

Download the latest release for your operating system from the releases page and extract the .zip file.

There are no precompiled MacOS binaries because I don't have a mac to compile on and the cross-compile process looks like a complete pain and altogether not worth it. You can still compile from source.




Compile from source (Code can be checked)

  1. Install Rust Stable from your package manager or rust-lang.org/tools/install
  2. Clone the repository (github.com/Alex-Programs/openxgauthenticator) to your local machine
  3. Open the repository in a terminal and go into the openxgauthenticator directory
  4. [Optional] read the code in the src directory to check that it's safe.
  5. Run cargo build --release
  6. Wait for compilation to complete. Subsequent compilations should be faster.
  7. Your compiled binary executable should be in the target/release folder. There will be additional files alongside the executable - the executable should just be the file openxgauthenticator for Linux, or openxgauthenticator.exe for Windows



Usage

Move openxgauthenticator to a directory where you can easily access it and run it. Setup your configuration in the GUI and click "Save".

You may find it useful to set it up to run at startup or create a shortcut, but it isn't necessary.

Previous Version

OpenXG was previously a CLI application. You can still download the old Linux version from here and the old Windows version from here. The source code is under the openxgauthenticator-cli folder in the github repository.

libopenxg

You can use libopenxg to build your own applications.. It's a library available on crates.io that handles firewall communication.

Maintenance

As of June 2024 I no longer have access to a Sophos XG firewall to test on, so I can't guarantee that OpenXG will work with the latest version of the firewall. If you have problems with OpenXG or libopenxg I encourage you to open an issue in the repository and I'll try to update it.




OpenXGAuthenticator GitHub

libopenxg Github

My GitHub

alexcj.co.uk