From fc97974c8c6d2512bebfad0ad2c3d261f38d0d84 Mon Sep 17 00:00:00 2001 From: int7 Date: Wed, 13 Dec 2023 11:47:09 +0800 Subject: [PATCH] feat: add example --- conf/frps_full_example.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conf/frps_full_example.toml b/conf/frps_full_example.toml index d25f6473..7ed910f5 100644 --- a/conf/frps_full_example.toml +++ b/conf/frps_full_example.toml @@ -22,6 +22,14 @@ kcpBindPort = 7000 # transport.quic.maxIdleTimeout = 30 # transport.quic.maxIncomingStreams = 100000 +# ssh tunnel gateway +# If you want to enable this feature, the bindPort parameter is required, while others are optional. +# By default, this feature is disabled. It will be enabled if bindPort is greater than 0. +# sshTunnelGateway.bindPort = 2200 +# sshTunnelGateway.privateKeyFile = "/home/frp-user/.ssh/id_rsa" +# sshTunnelGateway.autoGenPrivateKeyPath = "" +# sshTunnelGateway.authorizedKeysFile = "/home/frp-user/.ssh/authorized_keys" + # Heartbeat configure, it's not recommended to modify the default value # The default value of heartbeatTimeout is 90. Set negative value to disable it. # transport.heartbeatTimeout = 90