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

Exchange traffic between tun0 and tun1 using iptables

I have two vpn's that I've created each of which accomplishes their own networking goals. tun0 forwards all traffic to a socks5 proxy and tun1 accepts vpn connections. These interfaces are created ...
user avatar
1 vote
0 answers
66 views

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.
user avatar
  • 127
0 votes
0 answers
59 views

Socks5 proxy requests (via Selenium) are nerfed; same requests via cURL works

Good Day, I've seen a lot of questions like this but I haven't seen anything similar to my situation. I am not sure if this is the right or best place to ask. The issue I am facing is that I have a ...
user avatar
0 votes
0 answers
50 views

Forward traffic via multiple vps servers User ----> Solution ----> VPS 1 ----> Solution ----> VPS 2 ----> Internet

I've tried using Wireguard and a proxy to no avail, i'm not aware of any other ways of doing this, i'm open to suggestions for other ways of doing this, if anyone even wants to help with this, My ...
user avatar
0 votes
1 answer
53 views

Why do netcat packets get re-routed by iptables rules, but not a curl request?

I am trying to route all of my traffic through an SSH tunnel/SOCKS5 proxy. I have some IP tables rules configured to redirect (almost) all traffic to a socket-based program that then negotiates and ...
user avatar
  • 1
0 votes
0 answers
79 views

Internet access through SSH SOCKS5 proxy and CNTLM on the target

I have a Windows machine with remote access to a Debian machine for development. Both are behind a corporate proxy. On the Debian side cntlm is configured with authentication and used automatically ...
user avatar
  • 1
0 votes
1 answer
628 views

How to make a VPS with multiple IPs to proxy with more than 1 IP?

I have a Ubuntu VPS with four different public IP addresses. I want to use this VPS as a socks5 proxy in firefox browser, curl and other software with the possibility to use all public IPs of that ...
user avatar
  • 1
0 votes
0 answers
36 views

Router Port Forwarded Socks5 Server Doesn't Work

So, I have a remote ubuntu server running, and I decided to setup a Socks5 server on it for fun. I used the following command to port forward it ssh -D 1080 ubuntu@<ip_address>, and that works ...
user avatar
0 votes
0 answers
40 views

VPN through Tor. Are there any errors in my settings and can anonymity be improved?

I need to route traffic from multiple mobile apps and all sites through tor. Some apps and websites block tor traffic. For this reason, I decided to use tor and vpn together (vpn through tor). I know ...
user avatar
  • 1
0 votes
0 answers
66 views

How to enable socks5 and http on squid at the same time?

I'd like to enable both socks5 (I have checked and this is possible) and http at the same time for my squid proxy. So far the only way I've found to do this is to run 2 squid instances via docker but ...
user avatar
2 votes
1 answer
173 views

Docker-compose can't connect via socks-proxy to SSH remote host

I'm trying to deploy containers using docker-compose to remote server via SSH. Remote server SSH can be accessed only via SOCKS proxy. I created ~/.ssh/config with valid SOCKS configuration for that: ...
user avatar
  • 121
0 votes
0 answers
20 views

Disable opensshd socks to enable 3rd party socks server

I want to connect to an 3rd party socks server (Dante), thru a ssh port forward (tunnel?). But! opensshd is intercepting and handling the socks operation. (and doing a good job to) But I need to route ...
user avatar
1 vote
0 answers
341 views

Redirect all local traffic to shadow-socks proxy

Iptables reroute to shadowsocks I have ubuntu 20.04 vps with shadow-socks server on it. I also have ubuntu 20.04 on my pc, with shadow-socks client running on it. Currently using shadow-socks-libev ...
user avatar
  • 11
1 vote
0 answers
22 views

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. ...
user avatar
  • 11
0 votes
0 answers
60 views

Can we limit the traffic used by user in dante server?

Can we limit the traffic used by user in dante server? I have a dante socks5 server I want to limit the traffic used by a user to 2GB only If I can do this with dante please help else if I can't any ...
user avatar
1 vote
1 answer
199 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 ...
user avatar
2 votes
1 answer
2k 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:...
user avatar
1 vote
0 answers
145 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....
user avatar
  • 193
0 votes
0 answers
39 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 ...
user avatar
  • 1
1 vote
1 answer
46 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 ...
user avatar
0 votes
0 answers
602 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 ...
user avatar
1 vote
1 answer
274 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 ...
user avatar
1 vote
1 answer
716 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 ...
user avatar
1 vote
0 answers
562 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. ...
user avatar
1 vote
0 answers
916 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 &...
user avatar
0 votes
1 answer
595 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 ...
user avatar
0 votes
1 answer
48 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/...
user avatar
  • 3
0 votes
1 answer
765 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 ...
user avatar
  • 101
1 vote
1 answer
544 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
user avatar
  • 123
0 votes
2 answers
2k 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 ...
user avatar
0 votes
0 answers
2k 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 ...
user avatar
  • 103
0 votes
1 answer
228 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 ...
user avatar
1 vote
0 answers
46 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 ...
user avatar
1 vote
1 answer
928 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 ...
user avatar
  • 11
0 votes
0 answers
54 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 ...
user avatar
  • 13
3 votes
1 answer
3k 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 ...
user avatar
  • 1,749
1 vote
1 answer
232 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 ...
user avatar
  • 381
1 vote
1 answer
419 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....
user avatar
  • 111
0 votes
1 answer
674 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 ...
user avatar
  • 210
1 vote
1 answer
3k 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 ...
user avatar
  • 11
0 votes
1 answer
330 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
  • 11
-1 votes
1 answer
133 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 ...
user avatar
0 votes
0 answers
496 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 ...
user avatar
  • 117
0 votes
1 answer
118 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 ...
user avatar
0 votes
0 answers
187 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....
user avatar
  • 237
3 votes
1 answer
4k 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:...
user avatar
3 votes
0 answers
539 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: ...
user avatar
2 votes
4 answers
3k 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: ...
user avatar
  • 47
0 votes
1 answer
463 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 ...
user avatar
  • 163