Questions tagged [socks]

SOCKS is an Internet protocol that allows both TCP and UDP communications via a proxy server.

Wikipedia:

SOCKS is a de facto standard for circuit-level gateways.

Another use of SOCKS is as a circumvention tool, allowing traffic to bypass Internet filtering to access content otherwise blocked, e.g., by governments, workplaces, schools, and country-specific web services.

Some SSH suites, such as OpenSSH, support dynamic port forwarding that allows the user to create a local SOCKS proxy. This can free the user from the limitations of connecting only to a predefined remote port and server.

The Tor onion proxy software presents a SOCKS interface to its clients.

198 questions
1
vote
1 answer

Dante socks server on VPS doesn't work

My config on server side (/etc/danted.conf): logoutput: stderr internal: eth0 port = 1080 external: eth0 clientmethod: none socksmethod: username none client pass { from: 0.0.0.0/0 to: 0.0.0.0/0 log: connect error } socks pass { …
user40602
  • 111
  • 2
1
vote
3 answers

Whats the difference between a port forwarder and a socks proxy?

Question title describes itself clearly
user24912
  • 237
  • 1
  • 5
  • 9
1
vote
1 answer

Java socks4 client

Java.net.Proxy supports socks5, is there a way to support socks4 as well? third party library is ok too.
user12145
  • 1,115
  • 6
  • 28
  • 47
1
vote
1 answer

how to tunnel SOCKS proxy?

I have a distant server, that is not accessible from the outside world. I would like to turn it into a proxy nonetheless. I was thinking I could use server (that I fully own) to achieve my goal. Apologies if the following is not clear enough, for I…
aherve
  • 119
  • 4
1
vote
1 answer

How to use SSH to create SOCKS server on remote side?

I can create a SOCKS proxy on the local side of an SSH connection using -D but is there a way to create a proxy on the remote side? If not, why not? -L and -R do port forwarding on the local and remote side respectively. I can't see why remote…
Tom Ellis
  • 111
  • 2
1
vote
0 answers

SOCKS connection through cygwin and proxy fails

I have serverA with a rhel 6 flavor with no connection to internet and serverB with Win Server and Cygwin that connects to internet through a proxy namely I can do something like wget http://google.com and get a response. I was looking for a way to…
Nocturn
  • 133
  • 1
  • 10
1
vote
1 answer

Unable to proxy multiple IPs with ssh -D

I have one CentOS VM with 127 public external IP addresses. I am attempting to proxy all of the connections at once with ssh -D as follows: ssh -f -N -D 0.0.0.0:1000 1.1.1.1 ssh -f -N -D 0.0.0.0:1001 1.1.1.2 Where 0.0.0.0 is literal and 1.1.1.1 /…
Colby
  • 113
  • 2
1
vote
2 answers

Dante server Pam authentication does not work

So I configured Dante 1.4.2 (compiled it from source on Debian 8.7 which runs on MS Azure) and followed their official configuration guide to run my SOCKS5 server. I created a firewall rule to accept incoming connection on port 1080 tcp. I used…
1
vote
0 answers

Websense SSL MITM vs SOCKS

Howdy: My company uses WebSense with MITM SSL intercept and it works, well quite badly. Some tools detect that the certs are forged and complain bitterly or just don't work at all. Honesty is the best policy - I believe that if I configured systems…
nutcase
  • 80
  • 7
1
vote
1 answer

Finding a way to port forward a port-binding application via SOCKS

I'm running a program that binds a specific port on a host computer (running Windows 10) behind a firewall, and I don't have permission to port forward directly through my network. Instead, I'm trying to forward this connection through an external…
user255573
1
vote
0 answers

SOCKS Proxy maintain source IP

I am trying to maintain the source IP going through my socks proxy into the DMZ. Since my connection is TCP I can't use the typical XFF header method for reverse proxies. Is there any standard way to accomplish this?
asdf
  • 143
  • 1
  • 1
  • 7
1
vote
0 answers

dante SOCKS5 server handle authentication with external script

I'm currently choosing between using dante or 3proxy for creating a SOCKS5 server. My user login details are stored in a mysql table. Passwords are generated using bcrypt(), so RADIUS won't be an option. Is there a way to handle the authentication…
peke_peke
  • 21
  • 2
1
vote
0 answers

dante SOCKS5 auth process use custom script

Is there a way I can use my own script for auth process of dante SOCKS server? I store my passwords created with bcrypt(). Free radius isn't able to handle bcrypt() generated passwords I think, so a custom auth script would be the best solution.
peke_peke
  • 21
  • 2
1
vote
1 answer

Cntlm error: too many open files

As the title says i have got some issues with Cntlm. I'm working with the 0.92.3 version and launched from the source code. What i am trying to do is starting Cntlm as a standalone proxy with localhost configuration, to browse internet and launch…
Basionkler
  • 11
  • 1
  • 4
1
vote
0 answers

Remote (Ubuntu) server as http gateway to multiple socks5 proxy servers

I have the following setup: Computer L (my Mac OS X machine). Linode R0 running Ubuntu 12.04. Linode R1 running Ubuntu 12.04. Linode R2 running Ubuntu 12.04. R1 and R2 are turned into SOCKS5 proxy servers as follows: user@R0: ssh -D 1081…
hcb
  • 109
  • 4