From 58ccd4ee3ecde2444d72b5947e1c693a6ecf6160 Mon Sep 17 00:00:00 2001 From: Craig O'Donnell Date: Sun, 7 Jan 2024 16:38:13 -0500 Subject: [PATCH] enable tls between frpc and frps --- pkg/frpc/config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/frpc/config.go b/pkg/frpc/config.go index 0d80796..256764a 100644 --- a/pkg/frpc/config.go +++ b/pkg/frpc/config.go @@ -21,6 +21,10 @@ admin_addr = {{ .AdminAddr }} admin_port = {{ .AdminPort }} includes = ./conf.d/*.ini log_level = {{ .LogLevel }} +tls_enable = true +tls_cert_file = ./tls/frps/client.crt +tls_key_file = ./tls/frps/client.key +tls_trusted_ca_file = ./tls/frps/ca.crt meta_client_id = "{{ index .Metas "client_id" }}" meta_client_signature = "{{ index .Metas "client_signature" }}" `