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
4
votes
3 answers

Tunneling all TCP and UDP traffic through a Server?

On a Linux or Windows system, how would it be possible to tunnel all TCP/UDP packets through a thirdparty server? What would one use, does it work with SOCKS5, OpenVPN or SSH?
JohnnyFromBF
  • 1,259
  • 6
  • 21
  • 25
4
votes
3 answers

How do I connect to a server behind an socks5 proxy through SSH on mac/linux?

I am using the ssh to try to connect to a server behind on remote network. That server is behind a socks5 proxy on the same network. The port of the proxy server is 1080 and the ssh port is 22. However this fails. The debug says that connection is…
jimiyash
  • 193
  • 1
  • 1
  • 6
3
votes
1 answer

SSH Tunnel - channel 3: open failed: administratively prohibited: open failed

ssh -D 9090 user@host when I try to request web pages through socks5 (127.0.0.1:9090) I get: channel 3: open failed: administratively prohibited: open failed server sshd_config: #MaxStartups 10:30:100 PermitTunnel yes #ChrootDirectory…
Sina Parvizi
  • 31
  • 1
  • 3
3
votes
4 answers

dante not starting during server reboot

I installed dante (v1.4.2) using apt-get install dante-server on ubuntu 18.04 and have following configuration: /etc/danted.conf logoutput: /var/log/sockd.log internal: eno1 port = 1080 external: eno1 external.rotation: same-same socksmethod:…
Deepika
  • 57
  • 1
  • 3
3
votes
1 answer

How to use ansible openstack modules with a ssh socks proxy

OpenSSH allows to act as an encrypted tunnel with a socks proxy. This can be used for openstack modules in ansible. However the ansible documentation doesn't mention how to use any other proxy than HTTP/HTTPS.
Mircea Vutcovici
  • 17,619
  • 4
  • 56
  • 83
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
0 answers

Modify ip addresses in a socks capture pcap

I have a pcap capture of socks traffic. The traffic goes like - client_ip <-> 127.0.0.1:9050 <-> destination_ip Looking at pcap in wireshark, thus, shows: src_ip = 127.0.0.1 dst_ip = 127.0.0.1 Is it possible to change src_ip and dst_ip…
Sunshine
  • 131
  • 2
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
  • 63
  • 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

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
  • 290
  • 5
  • 19
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
  • 4,037
  • 9
  • 36
  • 42
1 2
3
13 14