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:23:52 +01:00
|
|
|
We wants to access `<local_address>:<local_port>` from machine A's network as `<target_port>` on machine B.
|
|
|
|
|
|
|
|
### 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
|
|
|
|
|
|
|
|
[AGPL-3.0](./LICENCE.md)
|