Skip to content

Tunnel through FreeRDP client

Fidel Perez-Smith edited this page Nov 9, 2025 · 3 revisions

Summary

RDP server allows access to the client's files using the \\tsclient share. By using that share for a File Tunnel, you can route traffic between the local and remotes hosts.


Host A

ft.exe --write "C:\Temp\1.dat" --read "C:\Temp\2.dat" -L 5000:192.168.1.50:8888


Run the FreeRDP client using the following command, to share local files with the remote server:

wfreerdp.exe /v:192.168.0.32 /u:your_username /p:your_password /rfx /a:drive,c,C:\


Host B

ft.exe --read "\\tsclient\c\Temp\1.dat" --write "\\tsclient\c\Temp\2.dat"

Now on Host A, you can connect to 127.0.0.1:5000 and it will be forwarded to 192.168.1.50:8888

Clone this wiki locally