port forward not work - Key Not Found #27
-
I configured the key in the agent as follows: tokens: # list of tokens - !Agent # agent token
uid: 00000000-0000-0000-0000-000000000001 # agent uid, please use a unique uid for each user
name: office # agent name, please use a unique name for each agent
exp: 1804067200 # expiration time in seconds since epoch (Monday, January 1, 2024 0:00:00 GMT)
key: nothingAtall I used the following command in the client: ./narrowlink-x86_64-apple-darwin forward -k nothingAtall -n office -l 127.0.0.1:4433 192.168.50.7:3389 However, I cannot connect to port 3389 on 50.7 through the local 4433 port. The error log of the client is as follows:
I tried changing the key to |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You didn't set the encryption key in the agent configuration file, but you are going to connect to the agent with the key that you've set on the client. The agent's key should be set its config file ( e.g.,: gateway: x.x.x.x:443
token: eyJ0e....pN1c
key: nothingAtall I think you might have misunderstood the end-to-end encryption aspect. I suggest taking another look at it. You can also simply omit using I would also appreciate it if you could use more precise titles for the discussions and placing the codes/logs into a code section to make it organized. |
Beta Was this translation helpful? Give feedback.
You didn't set the encryption key in the agent configuration file, but you are going to connect to the agent with the key that you've set on the client. The agent's key should be set its config file (
agent.yaml
), and there is notkey
parameter in the token.e.g.,:
I think you might have misunderstood the end-to-end encryption aspect. I suggest taking another look at it.
You can also simply omit using
-k
to ignore use of E2EE.I would also appreciate it if you could use more precise titles for the discussions and placing the codes/logs into a code section to make it organized.