rebound/README.md

23 lines
449 B
Markdown
Raw Permalink Normal View History

2023-09-09 04:00:00 +02:00
# Rebound
2024-02-28 09:23:52 +01:00
An TCP tunneling server requiring only a SSH client.
2023-09-09 04:00:00 +02:00
## Usage
2024-02-28 09:25:07 +01:00
We want to access `<local_address>:<local_port>` from machine A's network as `<target_port>` on machine B.
2024-02-28 09:23:52 +01:00
### Opening the tunnel on machine A
2023-09-09 04:00:00 +02:00
```shell
2024-02-28 09:23:52 +01:00
ssh -R 0:<local_address>:<local_port> root@rebound-server -p 80
2023-09-09 04:00:00 +02:00
```
2024-02-28 09:23:52 +01:00
### Connecting to the tunnel on machine B
2023-09-09 04:00:00 +02:00
2024-02-28 09:23:52 +01:00
```shell
ssh -L <target_port>:0.0.0.0:1 <secret>@rebound-server -p 80
2023-09-09 04:00:00 +02:00
```
2024-02-28 09:23:52 +01:00
## Licence
2024-02-28 09:25:53 +01:00
[AGPL-3.0](./LICENCE)