diff options
author | Richard Yu <yurichard3839@gmail.com> | 2019-06-25 21:29:46 +0800 |
---|---|---|
committer | Richard Yu <yurichard3839@gmail.com> | 2019-06-26 17:26:51 +0800 |
commit | aa3efeddbf0e86613626b3ef9c7f6415493c6da2 (patch) | |
tree | 06e2cd2584d26d473705b3b0b01ddec5c4544089 /net/frp/files/frpc.config | |
parent | 400bf225c449434142149b4a9474a55aa8b14735 (diff) |
frp: add uci config integration
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Diffstat (limited to 'net/frp/files/frpc.config')
-rw-r--r-- | net/frp/files/frpc.config | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/frp/files/frpc.config b/net/frp/files/frpc.config new file mode 100644 index 000000000..06bcbb186 --- /dev/null +++ b/net/frp/files/frpc.config @@ -0,0 +1,23 @@ +config init + option stdout 1 + option stderr 1 + option user frpc + option group frpc + option respawn 1 +# OS environments pass to frp for config file template, see +# https://github.com/fatedier/frp#configuration-file-template +# list env 'ENV_NAME=value' +# Config files include in temporary config file. +# list conf_inc '/etc/frp/frps.d/frpc_full.ini' + +config conf 'common' + option server_addr 127.0.0.1 + option server_port 7000 +# List options with name="_" will be directly appended to config file +# list _ '# Key-A=Value-A' + +config conf 'ssh' + option type tcp + option local_ip 127.0.0.1 + option local_port 22 + option remote_port 6000 |