Use a remote internet connection

1 min read Original article ↗

Summary

Follow these steps use a remote computer's internet connection. Host A will use Host B's internet such that it appears the connection originates from Host B.

Steps

Choose a desired file system. In this example we'll use S3.

image

Host A

  • Run the following command to forward port 5000 to the remote PC.
  • ft.exe -w p:\1.dat -r p:\2.dat -L 5000:127.0.0.1:1080 --s3
  • Configure Windows to use a SOCKS proxy:

image

Host B

Run a SOCKS proxy.

  • If using Linux: ssh -D 1080 user@127.0.0.1
  • If using Windows: Download simple-proxy and run: simple-proxy.exe -bind 127.0.0.1 -port 1080

Start the file tunnel

  • ft.exe -r p:\1.dat -w p:\2.dat --s3

The tunnel should be online

image

Now run a browser on Host A and it will use Host B's internet connection.