frpc usage record
Quick Start
# Launch sufficient to
docker-compose up -d
- Configuration Description
auth_token_line=auth. oken = "xxx"`` # Authenticating token, used to authenticate when the client connects, adjust a suitable value sufficient to serverAddr# of the server address, use the address specified when the client connects, adjust a suitable value sufficient toserver_port=18000# of the server port, use the port specified when the client connects, Adjust a suitable value sufficient toclient_name=frpc# of the client name, for the name specified when the client connects to the client, and adjust a suitable value (same frps service that can have multiple frpc clients, as long as the name is not in conflict)remotePort_proxies_tcp_line: remotePort=12222` # remote ports, for the port specified when the client connects, adjust an appropriate value sufficient
PS: In basically fixed server settings, simply copy the first client's dock-compose, modify
client_name,remotePort_proxies_tcp_line
- How to add a new frpc client (and get sshkey) when a frpc client is already connected
# Copy a dock-compose.yml file, modify client_name and remotePort_proxies_tcp_line (note in docker-compose.yml)
# Then sshit connection needs to get keys, perform the following command to get the private key
docker exec -it dev-jumpbox cat ~/.ssh/id_ed25519_frp
# needs to configure this private key to local ~/.ssh/id_ed25519_frp, and modify
chmod 600 ~/.ssh/id_ed25519_frp