Tunnel network traffic through SSH

1157175 pts.
Tags:
Network traffic
Networking
SSH
When I'm using the Internet from public Wi-Fi, I always use a SSH tunnel so my traffic won't be sniffed. But I have too many applications that don't provide a way to specify a proxy. Can I use a tunnel for all network traffic from my computer?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.
This requirement comes under port forwarding .In which you can use ssh tunnel for access any available port on remote server .

Below command is the example of port forwarding .

$ ssh -R 80:localhost:9000 user@example.com

In this command  example.com is remote IP on which http process is running and you want to access port 80 of remote host, through ssh on your localhost port 9000.

After running this command you can access remote website  as  http://localhost:9000 .

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • TheRealRaven
    You can use SSH to any server that accepts a SSH connection. Otherwise you can't. It's not a matter of "blanket" SSH usage for everything. That's about all that can be said about SSH without knowing details of each server that you want to connect with.
    36,880 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: