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

can I create a socks proxy with socat to an interface

I have an openvpn connection (and thus a tun interface with an IP) I am not in control of the server so cannot make any configuration changes. What I want to do is use socat to essentially create a ...
0
votes
0answers
4 views

OSX Remote Screen Sharing But No SOCKS [migrated]

I would like to use my home network as a VPN. I've done similar things with servers (maintained by much smarter people than me) I have access to using a SOCKS proxy simply by using ssh -D 5050 -C -N ...
1
vote
1answer
33 views

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

How to create LAN proxy server with traffic funneled through ssh -D

I want to create a SOCKS proxy server on my LAN, so it will be available to all users on wifi. My goal is to funnel all the traffic from the SOCKS port on the lan server through a ssh -D connection. I ...
0
votes
0answers
34 views

How to setup multiple external gateways for Dante sock5 proxy

I have a Dante proxy server setup on my ubuntu machine, which has 4 NICs, one ethernet (eth0) and three usb modems (usb1,usb2,usb3). All with their own internet connection. I am trying to setup in ...
0
votes
1answer
231 views

Is there a built-in way to proxy SSH through socks5?

I have a Socks5 proxy that uses username/password authentication. I can use it with SSH using NCAT in the ProxyCommand: ssh -o ProxyCommand="ncat --proxy-type socks5 --proxy-auth username:...
0
votes
0answers
36 views

Linux Proxy Manager

I'd like to set up a proxy service where users will connect to a single server where the requests will then be forwarded using a pool of proxies I supply. Essentially a SOCKS 5 or HTTP proxy server. I'...
1
vote
0answers
34 views

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

Using a VPN inside a VM over SOCKS

At work my PC is ubuntu based, and we are migrating to a VPN that only comes with a client for windows based machines. It seems almost impossible to hack the client to work on Linux (or it will ...
0
votes
0answers
281 views

How to configure Dante SOCKS proxy server to listen on VMware's public interface?

I am using kizzx2/docker-wireguard-socks-proxy to convert a VPN into a SOCKS proxy. I am exposing the port using the -p argument, so Docker should bind to 0.0.0.0. sudo docker run -it --rm --cap-add=...
1
vote
1answer
35 views

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

hpsockd : how can I use the proxy to filter out some destination domains

Okay the proxy is for a friend who has a intranet and he wants to use the proxy to also block some domains, practically to wash out the content from this domains. How do I configure this in hpsockd ? ...
0
votes
0answers
330 views

Accessing Dell server iDRAC console (jnlp) through multiple proxies on Linux

I have a server where SSH by root is disabled and SSHing in with LDAP credentials just hangs after receiving the MOTD. Specifically the step it hangs on: debug1: pledge: proc I'm trying to access the ...
1
vote
1answer
65 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
185 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
30 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). ...
1
vote
0answers
303 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. ...
1
vote
0answers
495 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
1answer
148 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
33 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
453 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
143 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
2answers
967 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
1k 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
135 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
35 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
404 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
46 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 ...
3
votes
1answer
1k 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
124 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 ...
1
vote
1answer
227 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....
0
votes
1answer
437 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 ...
1
vote
1answer
2k 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
247 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
816 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
66 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
279 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
96 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
121 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
1answer
2k 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:...
2
votes
0answers
401 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: ...
1
vote
4answers
2k 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
328 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
1k 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
1k 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
36 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
465 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: ...
2
votes
4answers
20k 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
129 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 ...