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
2 answers

how to setup a socks 5 proxy server on centos

I need a socks 5 proxy server that can run on centos. This would use a block of IP's so that client X with IP Address zzz connects tomy proxy server with ip xxx and then to remote host with ip yyy. What is the best server software that I should…
user12145
  • 1,115
  • 6
  • 28
  • 47
1
vote
1 answer

How can I use a VPN for specific applications which then connect to multiple squid IP's?

Ok here is my exceptionally confusing dilemma I'm hoping someone here can help me with. 1) I have a home computer setup to check my remote website's functionality & load time. 2) I have 5 remote servers running squid (in different countries) each…
1
vote
1 answer

SSH Web Tunnel Monitor

I allow web traffic tunnelling on my linux server over SSH, each user has a account on the server. So how can I monitor their total send and received bandwidth and also monitor requested URL's? Also i'm running openssh-server and CentoOS Update: The…
user57779
1
vote
2 answers

Making Apache Vhost only visible to users

I'm wanting to limit access to several things like PHPMyAdmin to users who are logged in and using SOCKS. To do that I'd like to make a virtual host in Apache. I'm guessing that the basic steps are to setup a vhost as normal and then put an entry in…
46Bit
  • 113
  • 4
1
vote
2 answers

What is more prevalent: SOCKS Proxy or HTTP Proxy?

I am working on a project where we need to decide which proxy to support first. Later we will add support for the other proxy. Is either SOCKS proxy or HTTP proxy more prevalent? Does anyone have any statistics to support? I am definitely out of my…
rcravens
  • 113
  • 4
1
vote
1 answer

Socks5 proxy "Dante" leaves many child processes stuck in FIN_WAIT2 / CLOSE_WAIT state

I'm running dante v1.2.1 as a SOCKS proxy server. The proxy works fine but at the end of the day there are around 40-50 or more child processes of sockd running even though there are no active connections. lsof shows that the child processes all…
Asad R.
  • 208
  • 3
  • 9
1
vote
0 answers

Having trouble to set up SSH socks proxy

I am trying to set up a SSH socks tunnel for my personal use. When I am using this command ssh -D 1080 -N root@[server public IP] to start the proxy I am getting this error: open failed: administratively prohibited: open failed. Please help…
samadadi
  • 111
  • 3
1
vote
1 answer

How do I ensure that a SOCK5-proxy is not used by malicious applications?

I have created a jumphost/bastion, that will act just as that - a jumphost to certain hosts:ports. I am aware of that I can limit users/groups with the following: Match User Alice PermitOpen some.host.tld:80 another.host.tld:22…
Orphans
  • 1,396
  • 2
  • 18
  • 30
1
vote
0 answers

Danted starts without error but not working

I installed danted on ubuntu 22.04.1 with apt package manager and everything worked find 'till I tried to connect to it. this my /etc/danted.conf logoutput: /var/log/socks.log internal: ens160 port = 110 external: ens160 clientmethod:…
1
vote
0 answers

SOCKS_dante(1.4.3)_Separate processing by port number

I have installed dante and it is working fine. In addition, I want to divide the process according to the port number of the client, but it doesn't work. I want to divide the processing as follows. Access from port 3080 is PAM authentication. Access…
tbe3910
  • 11
  • 1
1
vote
1 answer

ssh tunnel for socks proxying

I'm scratching my head over this; I've spent many hours reading, please help. Simplifying, I have one site mydomain.com that has one gateway router (router-1 192.168.1.1), one router configured as switch (192.168.1.184) and AP running OpenWrt with…
Jose Silva
  • 11
  • 2
1
vote
0 answers

Limit dante socks connections based on username

I have created a dante socks server with the following simple configuration: debug: 0 logoutput: stderr internal: 0.0.0.0 port = 1080 external: eth0 socksmethod: username clientmethod: none user.privileged: root user.unprivileged: sockd client pass…
Sinai
  • 203
  • 1
  • 3
  • 17
1
vote
1 answer

sshd: restrict outgoing address of forwarded connections

My vps (running Debian buster) has multiple IP addresses, both IPv4 and IPv6. They are used to bind the listening sockets of the few different services running on it - basically just web and smtp for a couple of domains. Now, another way I use the…
q.undertow
  • 121
  • 2
1
vote
1 answer

Cannot open certain websites when SOCKS 5 DNS proxy is enabled on Firefox

Using the terminal, I run the following. ssh admin@1.2.3.4 -i ~/.ssh/admin -N -D 9090 Firefox is configured as follow. Many websites work just fine, but certain ones fails and the following error is thrown on the terminal. channel 1: open failed:…
sunknudsen
  • 701
  • 3
  • 14
  • 28
1
vote
1 answer

Dante SOCKS server with two external interfaces (e.g. Wired Ethernet and Wi-Fi)

I want Dante to transparently choose between either of the two interfaces enp4s0 (Wired Ethernet) and wlp3s0 (Wi-Fi) regardless of their status (up or down). That is when wired, it should choose enp4s0 indeed, when wlp3s0 is added, it should…