Questions tagged [socks]

SOCKS is an Internet protocol that allows both TCP and UDP communications via a proxy server.

Filter by
Sorted by
Tagged with
1
vote
1answer
17 views

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 ...
0
votes
1answer
38 views

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 ...
0
votes
0answers
8 views

(Mac) Transparently tunnel specific IP range through SOCKS5 proxy

I am on a Mac. I have a client that hits a specific range of IPs: 10.19.*.*. The client cannot be modified to hit a different host. The port can also be within a specific range (say 11111 to 22222). ...
0
votes
0answers
18 views

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. ...
0
votes
0answers
36 views

Running multiple socks proxies on a single machine

First off no idea what I’m doing. Need to run multiple socks proxies off 1 pc with a low budget. Was thinking of using a raspberry pi 4. Could also use a couple pi zeros? How would I go about doing ...
0
votes
0answers
45 views

Using proxy_pass with a socks5 proxy in nginx

I want to host a service, and then connect to it using a specific proxy when it is accessed via specific domain. Like it's shown here: | # User make a request to s2.example.com |__ s2.example.com &...
0
votes
0answers
31 views

Nginx ssl_preread cannot handle SOCKS 5 Proxy protocol

I'm trying to run SSL and Non-SSL (in my case SOCKS 5 proxy) protocols over the same port in Nginx 1.17. This works for SSH very well according to Nginx document. But it's not working for Socks proxy ...
0
votes
1answer
28 views

How to forward HTTP requests through SOCKS5 proxy?

At this moment I am using a SSH tunnel (which provides a socks5 proxy on the client host) to connect to a remote server and its network. I need to access different WebUI services, so I'm using a ...
0
votes
1answer
21 views

build Socks5 Poxy for my team

I have been tasked to setup/build a socks5 proxy for my team. I have been googling but have not the answer I am looking for. Requirement - We have a certain application which needs to fetch plugins/...
0
votes
1answer
153 views

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 ...
1
vote
1answer
27 views

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
0
votes
1answer
225 views

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 ...
0
votes
0answers
16 views

Difficulty using tsocks (SOCKS5) to grant internet access to airlocked machine

Background: I have access to two servers. Server one (S1) is nearly airlocked from all outbound/inbound traffic except for SSH and runs Ubuntu 16.05. Server two (S2) does have inbound/outbound traffic ...
0
votes
0answers
53 views

Firejail not working over socks5 SSH tunnel

I have an Ubuntu 18.04 server in which I've created two virtual interface pairs (veth0a & veth0b) and assigned the end of one interface (veth0b) to a new network namespace (netns0): ip netns add ...
0
votes
0answers
338 views

Send SOCKS proxy credentials over SSL/TLS

OpenVPN client config file has a socks-proxy rule which allows connecting to a SOCKS proxy before connecting to a VPN. I installed Dante SOCKS proxy but it looks like it does not support SSL/TLS so ...
0
votes
1answer
63 views

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 ...
1
vote
0answers
32 views

How to redirect incoming traffic (HTTP, HTTPS) to specified server which is accessible behind SOCKS4 proxy?

servers setup schema I have a web application on a "Server behind proxy", which is not accessible through internet. It's only accessible through "SOCKS4 server", which I can't change anything on. I ...
1
vote
1answer
79 views

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 ...
0
votes
0answers
34 views

How to access nodes behind a firewall?

I'm trying to create a service that distribute HTTP requests into a pool of nodes. This nodes run on separated networks behind firewall, I don't have much control over the agent network. The only ...
0
votes
0answers
37 views

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 ...
0
votes
0answers
43 views

tunnel socks to multiple vps

My personal OS is windows 10 I have 2 VPS (centos) I don't have access to VPS B directly I have access to VPS A and VPS A has access to VPS B Goal : use VPS B as socks in my personal computer (...
2
votes
0answers
376 views

msmtp error: errormsg='the server sent an empty reply' exitcode=EX_PROTOCOL

I see this error message in the log of msmtp. What does it mean? How to fix the problem? I previous used tor's socks proxy and I don't see this message. But when I switch the proxy to a shadowsocks ...
1
vote
1answer
61 views

SSH SOCKS5 Tunnel forwarding to reverse ssh host

I have the following machines MachineA behind firewall somewhere at the world MachineB server on the internet (middleman) My Laptop behind firewall somewhere at the world MachineA maintains a ...
0
votes
1answer
137 views

Dante socks server on VPS doesn't work

My config on server side (/etc/danted.conf): logoutput: stderr internal: eth0 port = 1080 external: eth0 clientmethod: none socksmethod: username none client pass { from: 0.0.0.0/0 to: 0.0.0....
-1
votes
1answer
167 views

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 ...
0
votes
1answer
1k views

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 ...
0
votes
1answer
193 views

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 ...
0
votes
1answer
333 views

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 ...
-1
votes
1answer
47 views

How to understand `the socks can fool the internal http proxy server`?

A server's firewall only allows some ports (such as http port 80) to communicate, then you can use the socks5 protocol to connect to a socks5 server that opens 80 ports to connect to other servers on ...
0
votes
0answers
118 views

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 ...
0
votes
1answer
89 views

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 ...
0
votes
0answers
73 views

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@<secondary-ip> I go to whatismyip....
2
votes
0answers
1k views

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:...
1
vote
0answers
281 views

Dante Socks Multiple instances

I have correctly installed Dante on Ubuntu server as a proxy, and it works, but I must have e multiple instances of it (each of them has to works in different port). I have tried it in this way: ...
0
votes
4answers
1k views

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: ...
0
votes
1answer
289 views

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 ...
2
votes
1answer
927 views

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 ...
0
votes
1answer
808 views

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 ...
0
votes
0answers
35 views

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, ...
1
vote
1answer
1k views

how to tunnel SOCKS proxy?

I have a distant server, that is not accessible from the outside world. I would like to turn it into a proxy nonetheless. I was thinking I could use server (that I fully own) to achieve my goal. ...
1
vote
0answers
421 views

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: ...
1
vote
4answers
15k views

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 ...
1
vote
1answer
122 views

How to use SSH to create SOCKS server on remote side?

I can create a SOCKS proxy on the local side of an SSH connection using -D but is there a way to create a proxy on the remote side? If not, why not? -L and -R do port forwarding on the local and ...
1
vote
0answers
592 views

SOCKS connection through cygwin and proxy fails

I have serverA with a rhel 6 flavor with no connection to internet and serverB with Win Server and Cygwin that connects to internet through a proxy namely I can do something like wget http://google....
3
votes
0answers
324 views

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 ...
0
votes
1answer
1k views

How to debug a SSH socks tunnel connection? [closed]

I followed this guide https://www.digitalocean.com/community/tutorials/how-to-route-web-traffic-securely-without-a-vpn-using-a-socks-tunnel on how to set up a VPS connection to Windows. And my tunnel ...
1
vote
1answer
77 views

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 ...
0
votes
1answer
392 views

Unable to proxy multiple IPs with ssh -D

I have one CentOS VM with 127 public external IP addresses. I am attempting to proxy all of the connections at once with ssh -D as follows: ssh -f -N -D 0.0.0.0:1000 1.1.1.1 ssh -f -N -D 0.0.0.0:1001 ...
1
vote
2answers
2k views

Dante server Pam authentication does not work

So I configured Dante 1.4.2 (compiled it from source on Debian 8.7 which runs on MS Azure) and followed their official configuration guide to run my SOCKS5 server. I created a firewall rule to accept ...
2
votes
1answer
4k views

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 ...