TCP-Tunneling

forward reverse tunnel admin administrator sysadmin console cmd SSH command line socket localhost port access relay VNC
TCP-Tunnel rules for alias@ad in version 5

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

Configuration is made via setting up forwarding rules for each address from the Recent_Session_List or the Address Book via the context menu, which is automatically applied during the session.

Context menu at Recent Session list
Session Permissions in the Actions menu

Setup TCP tunneling

Configuration of the tunnel is applied by the client which requests the session. In case of Tunnel (or forward tunnelling) 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 listen 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.

Note: As long as the listening ports don't conflict, as many Tunnels as needed can be added.

Tunnel Applications

  • VPN
  • SSH
  • internal web services
  • bypass gateway or firewall
  • NAS
  • webcams
  • controlling industrial devices