Rev-socket is an open-source Docker image that provides a reverse tunnel to expose the remote Docker socket as a local socket. It achieves this by using SSH as a socket and has the capability to use OpenVPN as a tunnel to enhance security.
- Reverse tunneling of the remote Docker socket
- Secure communication using SSH-based socket
- Enhanced security with OpenVPN integration
To use rev-socket, follow these steps:
- Install Docker on your local machine.
- Pull the rev-socket image from the Docker Hub.
- Configure the necessary environment variables by creating a
.env
file in the root directory of the project. The following variables are available:SSH_HOST
: The hostname or IP address of the remote SSH server.SSH_PORT
: The port number of the remote SSH server.SSH_USERNAME
: The username for SSH authentication.SSH_PRIVATE_KEY
: The private key file for SSH authentication.OPENVPN_ENABLED
: Set this variable totrue
if you want to enable OpenVPN integration.OPENVPN_CONFIG
: The path to the OpenVPN configuration file.
- Run the Docker container with the appropriate settings.
For detailed instructions, please refer to the documentation.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.
Contributions are welcome! Please read the CONTRIBUTING file for guidelines on how to contribute to this project.
If you encounter any issues or have any questions, please open an issue on the issue tracker.