Home

Logo

Introduction #

Mooshak (Farsi for Rocket/Shuttle) provides easy to setup dockerized SSH server, as well as support for websocket (wstunnel) tunneling to turn SSH TCP connection look like legitimate HTTP(S) TCP connection.

The purpose of this project is to provide tools to setup lightweight and easy-to-configure proxy/tunneling service. This can help masking your identity on the internet and avoid internet cencorship.

I strongly recommend you not to provide Mooshak server as a paid/free service open to “untrusted” users. The server will run in docker containers to add one level of security from people whom access your SSH Tunnel, however that is not enough.

Any personal use should be safe, and maybe you can share it with people you trust as well.

Unfortunately, due to sshuttle requirements, it’s not easy to set restricted bash for users, and they will all have access to python command. Feel free to contribute to the project if you have suggesions on making Mooshak server more secure while keeping it simple.

How it works #

As mentioned earlier, mooshak is simply an easy-to-setup SSH Tunnel, so on server side it creates a containerized SSH Server, and on client side uses preferred SSH Clients to connect to the server. Afterwards, the client configures your client OS to use SSH Tunnel. This configuration is different per client OS. For example, on windows Socks Proxy will be used while on Linux whole system connection will be tunneled to use the proxy through firewal and other OS configurations.

Logo

On networks where usual SSH ports are closed or internet cencorship will prevent SSH connections somehow, websocket can be used to hide the SSH Tunnel. For this purpose, wstunnel is used. The SSH Client will connect to a local ip address and port on your client machine where Websocket connection is established to connect to Websocket server. The Websocket server then passes the same connection to the SSH server.

Logo