ForwardingTool is a simple GUI tool for easy setup of multiple SSH tunnels using the same jump server. Soucre code is available on GitHub (https://github.com/Slarag/forwardingtool). It was designed to work on Windows and Linux.
It heavily depends on the sshtunnel module (https://pypi.org/project/sshtunnel/)
Tunnel icons created by Freepik - Flaticon (https://www.flaticon.com/free-icons/tunnel)
-
Clone the repository to your local machine:
C:\Users\slarag> git clone https://github.com/Slarag/forwardingtool.git
-
Create a virtual environment for the project and activate it:
C:\Users\slarag> cd forwardingtool
C:\Users\slarag\forwardingtool> python -m venv env
C:\Users\slarag\forwardingtool> env\Scripts\activate.bat
-
Upgrade pip:
(env) C:\Users\slarag\forwardingtool> python -m pip install --upgrade pip
(env) C:\Users\slarag\forwardingtool> python -m pip install -r requirements.txt
-
Run the tool:
(env) C:\Users\slarag\forwardingtool> python main.py
-
If you want to create an executable (=freeze the application with cx_freeze), run the following steps:
(env) C:\Users\slarag\forwardingtool> python freeze.py build
-
Clone the repository to your local machine:
slarag@ubuntu> git clone https://github.com/Slarag/forwardingtool.git
-
Create a virtual environment for the project and activate it:
slarag@ubuntu: cd forwardingtool
slarag@ubuntu:~/forwardingtool> python -m venv env
slarag@ubuntu:~/forwardingtool> source env\bin\activate
-
Upgrade pip:
slarag@ubuntu:~/forwardingtool> python -m pip install --upgrade pip
-
Install required package in the virtual environment:
slarag@ubuntu:~/forwardingtool> python -m pip install -r requirements.txt
-
Make "main.py" executable:
slarag@ubuntu:~/forwardingtool> chmod +x main.py
-
Run the tool:
slarag@ubuntu:~/forwardingtool> python main.py
- freeze.py script only available/tested for Windows OS