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
46 views

unable to authenticate socks5 (danted) with username

I'm unable to setup username auth for socks5 using dante and socksmethod: username method. ubuntu@ip-10-120-108-135:~$ uname -a Linux ip-10-120-108-135 5.19.0-1025-aws #26~22.04.1-Ubuntu SMP Mon Apr ...
DmitrySemenov's user avatar
0 votes
0 answers
124 views

how to setup socks5 proxy server on centos9 for network access behind firewall?

I need a socks proxy on centos 9, to access services from an (internal) network behind a firewall. It should be a socks 5 proxy (dynamic port forwarding) that can only be used by the configured ssh ...
2IRN's user avatar
  • 101
0 votes
1 answer
2k views

Port Forwarding through Socks5

I run a V2ray server and client and created a Inbound Socks5. I want to forward 0.0.0.0:8443 to a remote machine with IP and port number. I know that dokodemo-door in v2ray can do this, but my ISP has ...
raitech's user avatar
  • 91
0 votes
1 answer
414 views

OpenVPN, L2TP or PPTP client to proxy (http or socks 4/5)

I'm looking for a way to open a proxy server on Windows or Linux which is bound to a client of OpenVPN or L2TP or PPTP, so the user that is connecting to the proxy is gonna connect to the VPN server ...
ehtku5's user avatar
  • 1
0 votes
0 answers
152 views

how to use SOCKS proxy username,password generated by Private Internet Access in Mikrotik routerboard

I have subscription at Private Internet Access application. I need the way to use SOCKS username and password in mikrotik u951 to make all traffics through this SOCKS proxy. thanks a lot.
Anas4795's user avatar
1 vote
0 answers
37 views

Having trouble to set up SSH socks proxy [duplicate]

I am trying to set up a SSH socks tunnel for my personal use. When I am using this command ssh -D 1080 -N root@[server public IP] to start the proxy I am getting this error: open failed: ...
samadadi's user avatar
  • 111
0 votes
0 answers
115 views

Port forwarding through socks proxy in Linux

On an Ubuntu machine, I need to forward TCP port 443 to a remote machine port 443 through a socks5 proxy running on 127.0.0.1:10808 I need to accept other machines requests on forwarded port 443. Is ...
raitech's user avatar
  • 91
0 votes
0 answers
293 views

How do I expose an L2TP client as a socks5/http proxy?

I want to be able to do this: curl on client with proxy configured -> L2TP client which acts as a socks5 server -> L2TP server on the remote machine I don't control the remote machine, and ...
HappyFace's user avatar
  • 151
0 votes
0 answers
615 views

Port forwarding through socks5 proxy without ssh

I want to redirect connections to localhost:5353 on my PC to remoteserver:53 (udp). However, the connection to the remote server is restricted and must be made through a socks5 proxy. So I have to ...
user avatar
1 vote
1 answer
231 views

How do I ensure that a SOCK5-proxy is not used by malicious applications?

I have created a jumphost/bastion, that will act just as that - a jumphost to certain hosts:ports. I am aware of that I can limit users/groups with the following: Match User Alice PermitOpen some....
Orphans's user avatar
  • 1,406
0 votes
0 answers
106 views

Double Proxy: IPSec to Server1 then SSH to Server2

What I'm trying to achieve: (Clients)<IPSec Xauth PSK>(Server 1)<SSH-based SOCKS5>(Server 2) --> Free Internet How is that possible for both UDP and TCP traffics? What I've done: I ran ...
Masood Lapeh's user avatar
3 votes
0 answers
499 views

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 ...
sci3nt15t's user avatar
1 vote
0 answers
483 views

Danted starts without error but not working

I installed danted on ubuntu 22.04.1 with apt package manager and everything worked find 'till I tried to connect to it. this my /etc/danted.conf logoutput: /var/log/socks.log internal: ens160 port = ...
Mohammad Mahdi's user avatar
0 votes
0 answers
326 views

How to set up a secure forward proxy for a TCP port that is not HTTP or HTTPS?

I have a Mac Workstation, and I also have an EC2 instance (running Ubuntu Jammy) that we'll call my Proxy Box. I want my Mac Workstation to communicate out to the internet through my Proxy Box. ...
athome withagroovebox's user avatar
0 votes
0 answers
149 views

Is it possible to conditionally launch Chrome with a proxy configuration on Windows?

I have a networking/routing application that has a SOCKS5 interface and a more elaborate backend to route/proxy data. Anyhow I would like for a primary windows application to be able to launch ...
Liam Kelly's user avatar
0 votes
1 answer
508 views

Is basic Username authentication is enough for Dante SOCKS proxy?

so I'm making a SOCKS5 proxy for WebSocket connections and some HTTP calls on a few VMs in DO. The idea is that traffic from K8S cluster would go through the proxies so I could whitelist the IPs on ...
Wyatt Wood's user avatar
3 votes
0 answers
536 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.
ehpc's user avatar
  • 147
0 votes
1 answer
265 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 ...
t-r0d's user avatar
  • 1
0 votes
1 answer
2k 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 ...
Diego's user avatar
  • 1
2 votes
1 answer
649 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: ...
g4s8's user avatar
  • 121
2 votes
0 answers
1k 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 ...
Keytel's user avatar
  • 21
1 vote
0 answers
40 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. ...
tbe3910's user avatar
  • 11
0 votes
0 answers
204 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 ...
Meendufski's user avatar
1 vote
1 answer
424 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 ...
Jose Silva's user avatar
3 votes
1 answer
3k 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:...
ykaganovich's user avatar
1 vote
0 answers
478 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....
Sinai's user avatar
  • 203
0 votes
0 answers
80 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 ...
Wosp's user avatar
  • 1
1 vote
1 answer
55 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 ...
q.undertow's user avatar
0 votes
0 answers
923 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 ...
William's user avatar
1 vote
1 answer
627 views

Cannot open certain websites when SOCKS 5 DNS proxy is enabled on Firefox

Using the terminal, I run the following. ssh [email protected] -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 ...
sunknudsen's user avatar
1 vote
1 answer
2k 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 ...
Alexander Shukaev's user avatar
1 vote
0 answers
1k 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. ...
Aero Windwalker's user avatar
5 votes
0 answers
2k 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 &...
MrCyjaneK CyjaneK's user avatar
0 votes
1 answer
2k 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 ...
David Lor's user avatar
0 votes
1 answer
81 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/...
Bhalu's user avatar
  • 3
1 vote
1 answer
1k 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 ...
iwex's user avatar
  • 111
1 vote
1 answer
1k 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
Chris's user avatar
  • 123
1 vote
2 answers
3k 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 ...
Mikhail Stefantsev's user avatar
0 votes
1 answer
323 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 ...
Синее Небо's user avatar
1 vote
0 answers
122 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 ...
gerwis1998's user avatar
2 votes
1 answer
2k 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 ...
Saba's user avatar
  • 21
0 votes
0 answers
63 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 ...
Kirikan's user avatar
  • 13
4 votes
1 answer
4k 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 ...
user1424739's user avatar
  • 2,239
1 vote
1 answer
408 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 ...
ptheofan's user avatar
  • 411
1 vote
1 answer
700 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....
user40602's user avatar
  • 111
0 votes
2 answers
1k 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 ...
POMATu's user avatar
  • 210
2 votes
1 answer
5k 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 ...
Davide's user avatar
  • 21
0 votes
1 answer
544 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 ...
mohamadreza ch's user avatar
0 votes
2 answers
3k 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 ...
skall's user avatar
  • 11
-1 votes
1 answer
295 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 ...
three-blocks's user avatar