Install the service by adding the [email protected]
to /lib/systemd/system/
.
Create a config for a service:
Example:
# /etc/default/ssh-reverse-proxy@your-service
LOCAL_ADDR=localhost
LOCAL_PORT=3535
REMOTE_ADDR=10.10.20.1 # The remote addr to proxy
REMOTE_PORT=3535 # The remote port to proxy