wstunnel/src
Jasper Siepkes c09c349610
Add option to map (force) port use on the server for reverse tunnels. (#274)
This change adds a `port_mapping` option to the `ReverseTunnel` definition in the (YAML) restriction file.

It maps ports on the server side from X to Y (X:Y). Where X is the originally requested port by the client and Y is the port which will be used to listen on server-side.

For example with `10001:8080` configured and a client which connects using `-R tcp://10001:localhost:80` the server will listen on port 8080 instead of 10001. The originally requested ports (NOT the mapped ports) still needs to be allowed via the `ports` directive.

This is for example useful when dealing with lots of clients and you don't want to coordinate port use on all the clients but centrally on the server.
2024-05-22 16:13:58 +02:00
..
restrictions Add option to map (force) port use on the server for reverse tunnels. (#274) 2024-05-22 16:13:58 +02:00
tunnel Add option to map (force) port use on the server for reverse tunnels. (#274) 2024-05-22 16:13:58 +02:00
dns.rs Allow loading http upgrade path prefix from env 2023-12-19 23:23:36 +01:00
embedded_certificate.rs Bump dependencies 2024-05-09 14:18:38 +02:00
main.rs Fix logging in client mode (#278) 2024-05-20 09:45:26 +02:00
socks5.rs Support proxy protocol for tcp connection 2024-01-11 09:19:32 +01:00
socks5_udp.rs fix(socks5 udp): correctly reserve enough space for new packets 2024-01-23 13:32:31 +01:00
stdio.rs Improve stdio tunnel on windows 2024-05-18 16:02:28 +02:00
tcp.rs Bump dependencies 2024-05-09 14:18:38 +02:00
tls.rs Bump dependencies 2024-05-09 14:18:38 +02:00
tls_utils.rs Reduce allocation when using client certificate 2024-05-16 09:05:04 +02:00
udp.rs Improve UDP server buffer allocation 2024-01-20 11:34:11 +01:00
unix_socket.rs fix(unix): correctly delete sock in not already exist 2024-01-21 10:59:42 +01:00