Skip to content

A CLI tool to automatically login to IIT Jodhpur's network firewall

License

Notifications You must be signed in to change notification settings

SaahilNotSahil/iitj-autoproxy

Repository files navigation

IITJ Autoproxy (v0.1.2)

A CLI tool to automatically login to IIT Jodhpur's network firewall.

Installation

Windows:

Scoop:

  • First, you need to install Scoop.
  • Next, run the following commands in PowerShell
scoop bucket add org https://github.com/SaahilNotSahil/scoop-iitj-autoproxy.git
scoop install iitj-autoproxy

From archive:

  • Download the latest release (iitj-autoproxy_<version>_windows_amd64.zip) from here.
  • Extract the zip file.
  • Open Powershell as administrator and run the following commands
cd <path-to-extracted-folder>
.\install.ps1
  • IITJ Autoproxy is now installed on your system in the C:\Program Files\IITJ Autoproxy directory, and is added to the PATH.

Linux:

Debian-based Distros (Debian, Ubuntu, Linux Mint, etc.):

  • You can install by running the following commands
curl -s https://packagecloud.io/install/repositories/SaahilNotSahil/iitj-autoproxy/script.deb.sh?any=true | sudo bash
sudo apt update
sudo apt install iitj-autoproxy

Arch-based Distros (Arch Linux, EndeavourOS, Manjaro, etc.):

  • Download the AUR package for IITJ Autoproxy: (You can install it with your favourite AUR helper)
yay -S iitj-autoproxy-bin

RHEL-based Distros (RHEL, Fedora, CentOS, etc.):

  • You can install by running the following commands
curl -s https://packagecloud.io/install/repositories/SaahilNotSahil/iitj-autoproxy/script.rpm.sh?any=true | sudo bash
sudo yum install iitj-autoproxy

From archive:

  • Download the latest release (iitj-autoproxy_<version>_linux_<amd64/arm64>.tar.gz) from here.
  • Extract the tar.gz file and run the installer script
tar zxvf iitj-autoproxy_<version>_linux_<amd64/arm64>.tar.gz
chmod +x install.sh
./install.sh
  • IITJ Autoproxy is now installed on your system in the /usr/bin directory, which is already in the PATH.

Mac:

Homebrew:

  • You can install by running the following commands
brew tap SaahilNotSahil/iitj-autoproxy
brew install iitj-autoproxy
  • To upgrade the package:
brew upgrade iitj-autoproxy

Usage

  • First, you need to set your username and password. To do so, run the following command:
$ autoproxy config
  • Enter your username and password when prompted.

  • To login to the firewall once, run the following command:

$ autoproxy login
  • To automatically login to the firewall everytime it is required, run the following command:
$ autoproxy schedule

Note: You need to be logged out before running the above command.

  • To logout from the firewall, run the following command:
$ autoproxy logout

About

A CLI tool to automatically login to IIT Jodhpur's network firewall

Resources

License

Stars

Watchers

Forks

Packages

No packages published