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.

196 questions
3
votes
0 answers

How to make apache2 connect through SOCKS5 server that I am runnning?

I have a website ran on apache2 and a SOCKS proxy server that are both hosted on the same computer. The website can be accessed publicly and my SOCKS5 server is on localhost. How do I make the incoming and outgoing traffic from the apache server go…
Anderson
  • 131
  • 1
3
votes
1 answer

SSH to Remote host via another host

I am trying to ssh to remote Host B, but network access control governs I am only able to do this via Host A. How would I go about doing that? Have tried creating a tunnel to Host A ssh -f -N -D 2222 user@hostA Then when creating new ssh connections…
0rangutang
  • 33
  • 1
  • 3
3
votes
2 answers

Setup an ssh account that can only be used for a socks5 proxy

I have an arch linux machine behind a firewall. I can open a port forwarding for the ssh port. I would like to create a user that can be used only for a socks proxy. ssh -N -D 5000 user@server -p9000 5000 will be the local port the user uses for…
mist
  • 145
  • 6
3
votes
2 answers

Dante sockd can't forward traffic through multiple virtual IPs

I have configured Dante sockd to forward traffic through multiple IP interfaces. The config is basically this: logoutput: /var/log/sockd.log debug: 1 socksmethod: username none internal: eth0 port = 60000 external: eth0 internal: eth0:0 port =…
Simon Greenwood
  • 1,343
  • 9
  • 12
3
votes
1 answer

Danted Socks Proxy with Authentication

I've been trying to set up a SOCKS proxy on linux with danted. I have the proxy working perfectly without authentication, but when I try adding in authentication with both method: username and method: pam I can't log in with any of the usernames or…
Ed R
  • 61
  • 1
  • 5
3
votes
2 answers

Openvpn forward all routing to a socks port

Is it possible to configure openVPN to route all client connections through a socks port? ie, I want the setup to be: Client -> openvpn server -> localhost socks5 port -> socks5 port forward -> the internet machine 1 machine 2 machine 2…
Ramo
  • 43
  • 2
  • 6
3
votes
1 answer

How do I configure redis to allow me to connect through a SOCKS proxy?

I've got a redis server running on my remote machine. It's currently set only to bind 127.0.0.1. I can ssh into the machine with ssh -D 9999 mydomainwhatever.net to open a SOCKS proxy and then configure my Operating systems's network preferences to…
Nathan
  • 258
  • 2
  • 4
  • 10
3
votes
1 answer

Connecting jconsole using SOCKS to Amazon EC2

I'm trying to use jconsole to view stats on an EC2 instance by using a socks proxy created by SSH. I've tried the various scripts mentioned in the links below but to no…
freshfunk
  • 155
  • 6
3
votes
1 answer

Use authentication with Dante Socks

I just set up my dante socks proxy and it works just fine without authentication. Now I want only certain users to be able to use it tho. Preferably only those users that are in the passwd. What would you guys recommend me using? Can I somehow use…
cherrun
  • 729
  • 2
  • 10
  • 17
3
votes
1 answer

What is the difference between connecting via VPN and SSH/SOCKS proxy for a specific application?

If I understand correctly, a VPN connection will make the whole computer behave like it is on the target network. Is it correct to say that a SOCKS proxy via an SSH tunnel would accomplish the same thing as VPN, except only on an application…
CoolUserName
  • 513
  • 2
  • 5
  • 9
3
votes
0 answers

How do i configure a simple dante instance?

I'm trying to set up a simple SOCKS proxy on Amazon EC2, but I'm not able to figure out the documentation and configuration file for dante. For now i've been able to set up a proxy without authentication (which i took offline immediately after…
Maciej Swic
  • 270
  • 5
  • 18
3
votes
4 answers

How forward one port to other using ssh or any other tool?

I have a legacy application listening on port 5050 bound to localhost interface (i.e. 127.0.0.1). This app runs on a Linux box (an embedded system). I have an app, lets call it App C that runs on PC and would like to connect to it. But can't as…
videoguy
  • 211
  • 3
  • 6
3
votes
3 answers

Is there opensource socks5 server for ubuntu?

I can not find any opensource Socks5 server for ubuntu, I need to use Socks5 server to proxy client to access, can anyone help me ?
larry
  • 3,927
  • 9
  • 35
  • 41
3
votes
2 answers

How to set up a wireless AP with a linux box and SOCKS proxy

I've got: (1) Linux box (Arch linux to be precise, but that doesn't really matter) (2) Ethernet connection on it (say, eth0) (3) Socks proxy on a remote site (say, remote :port), which can be accessed through (2) (4) Wireless card on local linux box…
user50455
  • 131
  • 1
2
votes
1 answer

Gunicorn does not generate a sock file

First, I'm new to this subject. So I'm trying to serve a hello world flask app with nginx and gunicorn on a Centos7 server. But I'm getting 502 error on website. When I checked nginx's error.log file I see this: *32 connect() to…
Saba
  • 21
  • 3
1 2
3
13 14