Questions tagged [socks]
SOCKS is an Internet protocol that allows both TCP and UDP communications via a proxy server.
199
questions
0
votes
1
answer
35
views
Dynamic port forwarding using tsh ssh -D cripples nmap functionality
I am having some issues when trying to use a teleport node as a sort of proxy to scan resources inside networks behind that said proxy node.
My setup looks like this:
I have a node inside my Teleport ...
-1
votes
0
answers
33
views
Tor spawns a lot of obfs4proxy
Hardware: Xiaomi Redmi AX6S (AX3200)
System: OpenWRT 23.05.3, kernel 5.15
I've configured tor to use obfs4proxy and ss-redir (shadowsocks) to use simple-tls plugin.
With no connections via tor and ss-...
0
votes
0
answers
31
views
Re-route traffic from a Shadowsocks server based on GeoIP
I am trying to set up a proxy network consisting of two servers:
First server is a ShadowSocks server (Rust version) with manager API enabled as a standalone systemd service. This allows opening proxy ...
2
votes
2
answers
6k
views
SSH Socks Proxy wiith iptables REDIRECT
I have googled and haven`t found the answer on my question. Help me please.
There are two servers:
serverA with public IP 12.0.0.10 and an private IP 10.0.0.5
serverB with public IP 20.0.0.11
I ...
0
votes
2
answers
226
views
How to route browser traffic through an OpenVPN connection on Linux?
I have set up an OpenVPN connection but I don't want to send all the traffic through it.
My current routing table looks like this:
$ ip route
default via 192.168.88.1 dev enp7s0 proto dhcp metric 100
...
4
votes
1
answer
5k
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 ...
0
votes
1
answer
426
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 ...
0
votes
0
answers
105
views
Mail client fails through TOR SOCKS5 proxy with authentication failure
Happening for all POP, IMAP & SMTP protocols with or without SSL.
* Account '***': Connecting to POP3 server: ***:110...
[DATE TIME] POP< +OK Dovecot ready.
[DATE TIME] POP> USER ***
[DATE ...
0
votes
0
answers
628
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 ...
0
votes
1
answer
4k
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 ...
22
votes
2
answers
39k
views
strange output on ssh tunneling: output failed; connect failed: Connection timed out;
I use ssh [email protected] -p 1234 -D 9898 command for tunneling, and I set firefox socks5 ip to 127.0.0.1 and its port to 9898. It works successfully ,but in terminal I have error in output:
...
1
vote
1
answer
549
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 ...
9
votes
1
answer
12k
views
Dante (SOCKS server) not working
I'm trying to set up a SOCKS proxy using dante for testing purposes. However, I can't even get it to work with a web browser, after looking at several tutorials on how to do that.
I've tried in both ...
1
vote
0
answers
38
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: ...
2
votes
1
answer
887
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
2
answers
4k
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
vote
1
answer
348
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....
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 ...
3
votes
0
answers
712
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 ...
1
vote
0
answers
783
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 = ...
1
vote
1
answer
2k
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.
...
3
votes
1
answer
2k
views
Connecting jconsole using SOCKS to Amazon EC2
I'm trying to use jconsole to view stats on an EC2 instance by using a socks proxy created by SSH. I've tried the various scripts mentioned in the links below but to no avail:
http://simplygenius.com/...
2
votes
1
answer
3k
views
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 ...
0
votes
2
answers
2k
views
tunnel port 8080 over jumpserver using ssh - socks5 proxy?
I have this setup:
LocalPC - Jumpserver - Webserver with page only accessible on this machine via
localhost:8080
LocalPC and Webserver are not connected - Jumpserver has to be used.
Jumpserver ...
0
votes
0
answers
609
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. ...
0
votes
0
answers
203
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 ...
1
vote
1
answer
2k
views
Debian: How to create SOCKS proxy server to exit on specific network interface?
I have a setup with two internet connections.
eth0 - Internet connection 1
eth1 - Internet connection 2
How can I create a SOCKS 4/5 server that will take connections coming from eth0 and proxy the ...
1
vote
1
answer
3k
views
SOCKS proxy server chained to NTLM protected HTTP proxy on Linux
Our application can connect to Internet only directly or via SOCKS proxy. Unfortunately we can only access the Internet via HTTP proxy protected by NTLM authentication. Is there any SOCKS server that ...
1
vote
2
answers
10k
views
SSH tunnel for socks5 proxy is slow with concurrent load
I ssh to a remote AWS server using Ubuntu. I use ssh's port forwarding capabilities to do this. I have tried forwarding a dynamic port (ssh -D) or a single port (ssh -L with dante running as a remote ...
3
votes
1
answer
4k
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
1
answer
657
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 ...
11
votes
4
answers
21k
views
How can I make docker-compose pull images using a socks5 proxy?
I'm trying to pull images through a socks5 proxy. I've started the socks5 proxy on port 8888 like this:
ssh -NC -D 8888 parham@***.***.**
However, when I run docker-compose like this, it is evident ...
3
votes
0
answers
702
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.
0
votes
1
answer
387
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 ...
13
votes
1
answer
53k
views
How to enable SOCKS5 for Squid proxy?
Squid'd default is to operate as an HTTP proxy; however, this FAQ https://docstore.mik.ua/squid/FAQ-4.html#ss4.10 says "No changes are necessary to use Squid with socks5. Simply add the usual -Dbind=...
2
votes
1
answer
834
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:
...
0
votes
1
answer
3k
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 ...
2
votes
1
answer
6k
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
0
answers
2k
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 ...
3
votes
1
answer
3k
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 ...
1
vote
0
answers
41
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.
...
0
votes
0
answers
292
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 ...
1
vote
1
answer
506
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 ...
3
votes
4
answers
4k
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: ...
1
vote
0
answers
604
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
0
answers
133
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 ...
1
vote
1
answer
58
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 ...
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 ...
0
votes
0
answers
1k
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 ...
4
votes
3
answers
27k
views
How do I connect to a server behind an socks5 proxy through SSH on mac/linux?
I am using the ssh to try to connect to a server behind on remote network. That server is behind a socks5 proxy on the same network. The port of the proxy server is 1080 and the ssh port is 22. ...