Inspired by openconnect-saml, but simplified for my need and written in Java.
- JDK 17+ (only needed to build, or to run the JAR; the GraalVM native build produces a single static binary with no JDK dependency)
openconnectonPATHsudo- A browser
One line command to download and install
curl -fsSL https://raw.githubusercontent.com/noahhhx/jauth/main/install.sh | bashit should then be executable via
jauth helpmvn packageOutputs:
target/jauth-0.0.1.jar
GraalVM native-image:
mvn -Pnative -DskipTests packageOutputs target/vpnauth — single executable, no JVM needed.
Java:
java -jar target/jauth.jar connect --host="vpnhost"Binary:
./target/jauth connect --host="vpnhost"