Skip to content

Commit

Permalink
enable tls between frpc and frps
Browse files Browse the repository at this point in the history
  • Loading branch information
cbodonnell committed Jan 7, 2024
1 parent 868ec7c commit 58ccd4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/frpc/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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" }}"
`
Expand Down

0 comments on commit 58ccd4e

Please sign in to comment.