Questions tagged [socks]

88 questions
159
votes
7 answers

How can I tunnel all of my network traffic through SSH?

Whenever I'm using the internet from an insecure location (such as public wifi) I like to use an ssh tunnel (ssh -D port host) to ensure my traffic can't be sniffed. Unfortunately, there seem to be many applications which do not provide a way to…
user1114
  • 1,671
70
votes
6 answers

How can I use SSH with a SOCKS 5 proxy?

I have a SOCKS5 proxy set up through PuTTY with port 7777 configured as a dynamic port. I can use firefox/filezilla/etc by configuring them to use a SOCKS proxy with localhost and port 7777. But I can't figure out how to ssh (through Cygwin) to a…
66
votes
8 answers

Convert HTTP requests to SOCKS5

I'm currently doing some testing work with TOR and ran in to a small problem. Tor's client only supports receiving connections through a SOCKS5 protocol, but the applications I'm using only support HTTP Proxy Protocals. Is it possible to put…
Dustin
  • 867
  • 2
  • 9
  • 14
41
votes
5 answers

SSH Reverse socks tunnel

ssh -D can make a socks port at local machine, which pass the traffic to the remote, then to other places. ssh -L port:host:hostport, listen port at local machine, pass the traffic to "host:hostport" from the point of view of the remote machine. ssh…
Berry
  • 531
32
votes
2 answers

SSH as socks proxy through multiple hosts

Can the following be achieved with SSH. There are three machines involved: A. My local machine at home B. The SSH gateway server at school C. A workstation in a lab, only reachable through B I want to setup a SOCKS proxy. I want to be able to surf…
Sébastien
  • 323
  • 1
  • 3
  • 4
28
votes
1 answer

How to create a SOCKS proxy with ssh?

I want to use my computer as a SOCKS proxy. Do you just have to do ssh -D port_number hostname? Do I have to put my Linux username as the hostname?
24
votes
3 answers

OpenVPN client as SOCKS 5 server?

Are there any Windows applications that can connect to a remote OpenVPN server then act like a SOCKS 5 server in the local environment? EDIT: which means a local server speaks VPN/OpenVPN protocol, bind to a port as socks proxy server extract and…
est
  • 654
20
votes
1 answer

SOCKS vs. SSH local port forwarding

What's the difference between using SOCKS (SSH -D) and local port forwarding (SSH -L)
lisa17
  • 1,329
12
votes
2 answers

How to chain SOCKS proxies?

Preface: What I’m looking for are explicit instructions, in the same format as above. That is, something like run: “…run command X on machine A, then command Y on machine B…” I have a working socks proxy from my laptop (machine A) to machine B: [A]$…
11
votes
2 answers

How can I allow other computers to use my local SOCKS SSH tunnel?

I often use an SSH tunnelling on my computer, using a SOCKS proxy. ssh -D 1234 example.com However, this only accepts local connections. I would like other systems on my network to be able to use the proxy on my computer as well. How can I achieve…
user1114
  • 1,671
8
votes
1 answer

Linux SOCKS5 tunneling not working with udp traffic

I am using the command ssh -N -D 0.0.0.0:1080 localhost which works perfectly fine for my web browser, but when I try and tunnel a UDP traffic application it doesn't work. I thought that socks5 should be able to handle UDP traffic, or is there…
7
votes
1 answer

Does Chromium not support SOCKS5H (with the "H" in the end)?

If I try to start Chromium or any Chromium-based browser with: [...] --proxy-server="socks5h://blablabla" Then it fails to load any page. However, it works if I do: [...] --proxy-server="socks5://blablabla" But SOCKS5H and SOCKS5 are slightly…
6
votes
3 answers

How to set up a hotspot with socks5 proxy

I have a laptop with linux installed on it. The laptop has two network interfaces: eth0 and wlan0. Normally I surf the Internet through eth0, and I've successfully set up a hotspot in linux for my kindle to use. Important codes are as follows: #…
Searene
  • 903
  • 2
  • 11
  • 14
6
votes
4 answers

How can I tell if a proxy is SOCKS or HTTP using a command in terminal?

Is there a simple command to run in a Linux terminal to tell if a proxy is SOCKS or HTTP?
5
votes
1 answer

Openvpn through socks proxy on linux

I hope this is the correct place to post this. Basically i'm trying to run vpn through a socks proxy. Now this works fine in Windows 7 for me but when i try it in Linux it fails with Code: Mon Jun 17 23:26:26 2013 [] Inactivity timeout…
John wess
  • 73
  • 1
  • 6
1
2 3 4 5 6