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

How to create a socks5 proxy port via an openvpn?

We use an openvpn tunnel to access the internal APIs, but the openvpn doesn't allow us to connect to any external sites which is a bit of an issue when I need to call external APIs in my service. Ideally I want to turn on the openvpn but instead of…
1
vote
1 answer

How to connect to socks tunner through openvpn server?

I have some socks5 proxy and I am able to create tunnel using https://github.com/ambrop72/badvpn/wiki/Tun2socks. Also I have openvpn server on the same machine. The question is how to implement client -> openvpn -> tun2socks (socks5) connection? How…
iwex
  • 111
  • 5
1
vote
1 answer

Forward socks proxy to another

How can I set up a socks server in Linux that forwards all traffic to a parent socks server? I tried squid but it does not support socks
Chris
  • 123
  • 6
1
vote
2 answers

Dante server not starting on Raspberry

I am trying to setup Dante SOCKS server on my Raspberry 3. I tried a clean install of Debian Buster and Ubuntu 19.10. On both systems I get the following error right after server installation with the default config: ubuntu@ubuntu ~> sudo systemctl…
0
votes
1 answer

dante socks server went down after reannounce torrents

When I reannounce many torrents on qbittorrent my Danted fall down. /var/log: Jan 11 10:26:42 (1578738402.297782) danted[20286]: info: sigterm(): exiting on signal 15 firefox: Proxy refuses to accept connections Firefox is configured to use a…
0
votes
0 answers

Routing bypassing OpenVPN tunnel for access to server's public IP/Interface

I have the following setup: [USER] ---> [VPS server with public IP on eth0] ----> [some random VPN] ifconfig: https://justpaste.it/73dhw VPS server runs SOCKS proxy and I can connect to it and use it fine. I want to connect the server to VPN so all…
Kirikan
  • 13
  • 3
0
votes
2 answers

Dante on multiple gateways in subnet

I have two gateways in my subnet. 192.168.1.2 - main 192.168.1.1 - secondary (yeah that's not a mistake) So I am using 192.168.1.2 everywhere as default route Is it possible to configure danted so it will forward outgoing connections to the…
POMATu
  • 210
  • 2
  • 10
0
votes
1 answer

cant connect socks proxy server on cent os

I Install ss5 or 3proxy on cent os (VPS).I Check port 1080 with port checker online and get port 1080 is open but when I try to connect to proxy server I cant connect. firewalld is removed. SERVER ram 512MB .CPU 1 CORE 1400 MHZ
0
votes
2 answers

Curl + Socks5 - escape authentification data

I'm trying to use Curl with Socks5 proxy which needs authentication: curl -v -x socks5://user:password@PROXY_SERVER_IP:PROXY_PORT http://checkip.amazonaws.com However, my login is email address and password contains an asterisk. I am trying to…
skall
  • 11
  • 2
  • 6
0
votes
0 answers

Forward proxy with squid or anything else

i have a server with few thousands of IPv6s i want to create a forward proxy server with it which do the following: port forwarding (X.X.X.25:PORT -> IPV6 outgoing traffic) basic username/password authentication support socks5 (not required but it…
Pezhvak
  • 117
  • 5
0
votes
1 answer

access unexposed services on remote machine

I have services running (in docker containers) on a remote server for which I have ssh access. These services are admin apis that I'd prefer not to expose to the world(I don't really fancy setting up authentication for each of those services, and…
0
votes
0 answers

Use secondary IP as outgoing IP on SOCKS5 traffic that uses this IP

I have a server that runs OpenVPN on it's primary IP. There is also a second IP I connect to using SSH as a SOCKS5 setup like this: ssh -C2qTnN -D 1337 me@ I go to whatismyip.com from each connection and I want to see the primary IP…
stone.212
  • 277
  • 1
  • 2
  • 12
0
votes
1 answer

how to forbid connecting to localhost for ssh socks5 proxy

when I start ssh socks5 proxy like that ssh user@localhost -D 0.0.0.0:1080 it allows to anyone to connect to localhost like curl --socks5 server.com localhost:12345 which can be a security issue for services that consider connections from localhost…
igor
  • 173
  • 2
  • 2
  • 9
0
votes
1 answer

Dante Socks5 allow access from ip range

My danted.conf: logoutput: syslog /var/log/danted.log user.privileged: root user.unprivileged: nobody # The listening network interface or address. internal: ens3 port=1080 # The proxying network interface or address. external: ens3 # socks-rules…
Alexander Kim
  • 597
  • 3
  • 8
  • 21
0
votes
0 answers

How can I route a secure socket connection to different destination servers via a proxy?

My task is to address different servers via secure socket connections at the destination. But the problem is that you can not specify different target servers over normal socket connections. Also, there is no way, as with HTTP(S) via header, to…
egmontr
  • 33
  • 1
  • 5