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

Send all Outline traffic over proxy to another server

i have setup an outline server on my first server lets call it outline server; and i have successfully connected to that server via outline client application. but i need to redirect all that traffic from my outline server to another server via…
sci3nt15t
  • 31
  • 1
3
votes
0 answers

How to redirect tailscale to shadowsocks

How to redirect tailscale traffic (TPC+UDP) through shadowsocks proxy on Linux? I've tried ss-redirect with no success.
ehpc
  • 147
  • 1
  • 4
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
2
votes
1 answer

Redirect all the http and https traffic throught a SOCKS proxy

I have a virutal network in VMWare with 2 virtual machines. A: Not connected to Internet but is connected to B B: Conntected to Internet and to A (interface for A is 192.168.16.2) I have to create a SOCKS proxy to redirect all the TCP (and HTTP/S)…
Davide
  • 21
  • 1
  • 3
2
votes
1 answer

Proxy vpn traffic into socks or second vpn

I have an Ubuntu 16.04 server that I have running xl2tp and openvpn as a VPN server. However, I want the server itself to be connected to either a SOCKS Proxy or another OpenVPN connection. That is: client --> server --> vpn or socks server -->…
cegfault
  • 175
  • 1
  • 7
2
votes
4 answers

SSH Tunnel: channel 3: open failed: administratively prohibited

I have two servers, let's say server A and server B. I wish to use server B as an ssh tunnel so on server A I did this ssh -D 1080 root@ip It connects and as soon as I put in the server B as a SOCKS5 proxy on my server A, the server B comes up with…
user445735
  • 21
  • 1
  • 1
  • 3
2
votes
1 answer

Network security: No incoming connections vs. reverse tunnel to proxy

A client has a network that is restrictive. They want no incoming connections and they have no VPN. We're installing an admin tool that external admins need to access. One solution is that the admins access a cloud-based version of the admin tool…
overgroove
  • 123
  • 3
2
votes
2 answers

Dante 1.4.x sockd not working for localhost

I am trying to run a SOCKS server which listens for SOCKS connections on localhost. There will actually be SSH tunnels reaching this server if you are wondering about the purpose. I based the configuration off the suggestions in the documentation…
John Tate
  • 179
  • 4
  • 19
2
votes
0 answers

Dante with Kerberos configuration across sites

I have a requirement to host a socks proxy in a central location, using Dante. What I've been asked to do is connect remote clients to it across the internet, they'll pass through a gateway routing device that will forward HTTP traffic to Dante, in…
Stephen K.
  • 21
  • 2
2
votes
0 answers

how to divert incoming all tcp packets at eth0 to socks proxy and to eth1 of same host?

I have a three ubuntu linux hosts. host 1,host 2 and host 3. I want to pass data from host 1 to host 3 via host 2. But specifically I want to pass all incoming traffic of host 2 to socks proxy then to host 3. host 1 eth0: 192.168.1.10 host 2 eth0:…
user680288
  • 31
  • 1
2
votes
1 answer

How to transparently cache git clone?

I would like to offer a continuous integration service (I'm planning to use hudson, but the solution should work for others as well) with a web interface where a user will define a SCM URL (e.g. a git URL) and the workspace/source root which is used…
Kalle Richter
  • 268
  • 6
  • 18
2
votes
0 answers

Socks proxy on Mac OS Yosemite

I can't figure out why my ssh-created socks proxy works with curl but not with Chrome + Mac OS Yosemite. Socks proxy created with ssh -D 8080 -p 5432 -i mypubkey.pem my-user@my_server_ip Tested with curl --socks5 localhost:8080…
kheraud
  • 263
  • 2
  • 12
2
votes
1 answer

SSH socks proxy reverse connection Connection denied

So I wrote a java app that connects to a server in a reverse way (-R) and creates a ssh server where it is executed so the server can execute commands in the client that executed my app. That part work perfectly. The problem is that I want to create…
Alberto
  • 121
  • 2
2
votes
1 answer

How to route traffic through different interfaces based on the port number?

iptables -A PREROUTING -i usb0 -t mangle -p tcp --dport 8080 -j MARK --set-mark 1 iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source …