chisel-forward/entrypoint.sh
2024-09-03 10:47:08 +02:00

4 lines
123 B
Bash

#!/bin/bash
chisel client --auth "$USER:$TOKEN" "$HOST" "R:0.0.0.0:$REMOTE_PORT:$LOCAL_HOST:$LOCAL_PORT/${PROTOCOL:-tcp}"