TCP-Tunneling (or Port Forwarding) via AnyDesk provides a network tunnel between two clients. It can be used to remotely access or control local network devices or vice versa. The feature was introduced for Windows and Linux platforms since version 5.1.
For macOS devices the feature is introduced since version 5.5.
Setup TCP tunneling
Configuration of the tunnel is applied by the client which requests the session. In case of Tunnel (or forward tunneling) the request on a local port is then forwarded to a specified hostname:port combination at the remote client. For Reverse tunnel the request on port at the remote client is then forwarded to a specified hostname:port combination at the local client.
- Add Tunnel
- Add Reverse Tunnel
For example to start a listen server on the local machine which forwards requests on localhost:5568 to 127.0.0.1:9999 on the remote client, create an entry in the upper section (Tunnels for your Alias) and enter the local listening port (5568) in the local port field and the 127.0.0.1:9999 in the remote host/port fields respectively.
To start a listen server on the remote machine which forwards requests on localhost:8348 from there to localhost:2284 on the local device, create an entry in the lower section (Reverse Tunnels for your Alias) and enter the remote listen port (8348) in the local port field and the localhost:2284 in the local port/host fields respectively.
- internal web services
- bypass gateway or firewall
- controlling industrial devices