https://github.com/marceldobehere/goofy-websocket-socket-bridge
Goofy Websocket Server/Proxy for SSH over Websocket
https://github.com/marceldobehere/goofy-websocket-socket-bridge
js nodejs proxy ssh tunnel websocket websockets
Last synced: about 1 month ago
JSON representation
Goofy Websocket Server/Proxy for SSH over Websocket
- Host: GitHub
- URL: https://github.com/marceldobehere/goofy-websocket-socket-bridge
- Owner: marceldobehere
- License: agpl-3.0
- Created: 2024-04-03T21:06:07.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-08T21:19:22.000Z (about 2 years ago)
- Last Synced: 2025-01-04T01:35:47.443Z (over 1 year ago)
- Topics: js, nodejs, proxy, ssh, tunnel, websocket, websockets
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Goofy Websocket SSH Bridge
A tool proxies incoming websocket connections to a tcp address and port. (In this case it redirects to an ssh server with a port)
NOTE: This should be used with the [Goofy Websocket SSH Client](https://github.com/marceldobehere/Goofy-SSH)!
## How to change the address / port
You can change the constant variables in the `index.js` file before running it:
```js
const LOCAL_SSH_SERVER_HOST = 'marceldobehere.com';
const LOCAL_SSH_SERVER_PORT = 2222;
```
## How to run
To run it, just enter run `npm i` and then `npm run start`.
This will launch a normal websocket server on port 80.
You can also run a secure websocket server on port 443 by using `npm run start-https`.
NOTE: The C# SSH Client has issues communicating with NodeJS secure websocket servers!
## Thanks to
* [ws](https://www.npmjs.com/package/ws)