Questions tagged [socks]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
62 views

SSH socks proxy server on by default

I need some help with SOCKS proxy server based on SSH. I am running SSH SOCKS proxy using this command: ssh -N -D 0.0.0.0:1080 localhost Can I somehow enable it by default? The ssh deamon is on by ...
user avatar
0 votes
1 answer
33 views

Concerning tails os and proxychains - getting denied connection

I've been trying to run a wallet app in tails os ver 4.28 with no success. I'm getting denied error when using it with proxychains. Being a noob here, would someone assist me in letting me know what I'...
user avatar
  • 1
0 votes
1 answer
62 views

Generic TCP connections over a proxy?

Is there any way to achieve this command: APPX --listen=127.0.0.1:1111 --socks5=someproxy.com:2222 --connect=server.com:3333 Then, if I connect to 127.0.0.1:1111, it will be as if I connected to ...
user avatar
  • 143
0 votes
1 answer
78 views

Port forwarding between 3 dedicated servers

I have a main node on one dedicated server where all ports are opened. I have to additional dedicated servers where some ports that we are using to communicate between servers are closed by ISP ...
user avatar
0 votes
1 answer
335 views

How to use public SOCKS4 proxy system wide?

I'm using Pop!_OS 20.04. Firefox has built-in proxy settings. So, there's no problem. I can use proxy on wget, curl, apt using proxychains. But, it's not system wide. I tried gnome-control-center (...
user avatar
1 vote
1 answer
176 views

Share Telnet connection as a proxy

i have telnet connection to device behind firewall (there is no SSH) and i want to use this connection as a proxy to give local network access to Firefox for example if is possible using Putty ...
user avatar
0 votes
1 answer
262 views

SOCKS proxy over Reverse SSH

I've seen a similar question but it's different enough for the answer not to quite work. I have two Debian Buster hosts - one in a private network (A); one in Azure (B). I'd like Host A to initiate a ...
user avatar
  • 101
0 votes
1 answer
323 views

How to proxy browser traffic through ssh tunnel?

Currently I have a tunnel setup with my work Linux box (remote machine) and my macbook at home (local machine). Jira and other tools can only be accessed through our intranet so I'd like to use SOCKS ...
user avatar
2 votes
0 answers
63 views

Setting Up SSH SOCKs Proxy on Raspian

Ok, initial Deets Update: Tried wiping the Pi and retrying, I unfortunately got similar results. Any help out there? Working using Putty on Windows 10 Connecting to a Raspberry pi 3 on my local ...
user avatar
  • 21
2 votes
0 answers
545 views

Creating a virtual adapter and running all traffic through SOCKS5 / SSH (Debian)

I have a Digital Ocean VPS running a Winodws VM (VirtualBox) that I want to only route traffic through a single Socks5 that I change daily ... The only way to do this is(it seems) is to bridge the VM ...
user avatar
  • 21
1 vote
1 answer
1k views

managing multiple proxies in linux

I use different proxies for different purposes. I use shadowsocks proxy for my general purpose web surfing. For going to bank websites, I disable proxy. For accessing some websites related to my ...
user avatar
0 votes
1 answer
191 views

How does SSH used for dynamic port forwarding know where a request wants to go?

Dynamic port forwarding using SSH uses SOCKS protocol. How does SSH know where a request wants to go? For example if the request is a HTTP request, SSH doesn't understand HTTP, so where does it find ...
user avatar
  • 89.7k
0 votes
2 answers
178 views

Using FirewallD as SOCKS server

On CentOS 7, can the FirewallD service be used as a SOCKS server? i.e. if I connect ISP line to server's port #1 and LAN to port #2? Using Squid allows LAN clients to browse only, but other things ...
user avatar
2 votes
0 answers
1k views

Use socks proxy in terminal

I am using selektor, which is similar to vidalia tor bundle. The default settings, use safe socks with port number 9054. It is fine and when I set the firefox proxy to "use system proxy", I can access ...
user avatar
  • 995
0 votes
1 answer
228 views

Cannot get to 192.168.*.* addresses when using chromium with socks proxy

I'm running the following command on terminal: $ /usr/bin/chromium-browser --proxy-server="socks5://127.0.0.1:9050" --host-resolver-rules="MAP * ~NOTFOUND, EXCLUDE 127.0.0.1, EXCLUDE 192.168.1.106" 2&...
user avatar
  • 1,315
2 votes
1 answer
4k views

SSH Tunnel Between Multiple Hosts

This is slightly different than the other SSH questions I have seen on here so here it goes. I have a complex setup for accessing a web application and unfortunately there is no way around it. Here is ...
user avatar
  • 23
20 votes
3 answers
4k views

On-demand SSH Socks proxy through systemd user units with socket-activation doesn't restart as wished

To reach an isolated network I use an ssh -D socks proxy. In order to avoid having to type the details every time I added them to ~/.ssh/config: $ awk '/Host socks-proxy/' RS= ~/.ssh/config Host ...
user avatar
1 vote
1 answer
1k views

ssh as proxy server does not work

No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.0 (stretch) Release: 9.0 Codename: stretch I want to use ssh as a socks server through a free public ssh ...
user avatar
  • 41
2 votes
1 answer
2k views

How do I force VPN clients to only go through a local SOCKS5 proxy?

I have a Raspberry Pi which establishes an SSH connection to a remote server (VPS) and opens a port on the Pi so I can use it as a SOCKS5 proxy. This is the command I use to establish the tunnel: ssh ...
user avatar
3 votes
2 answers
2k views

How do I use autossh to set up a no-frills socks proxy?

I use ssh -D 12345 joeuser@somewhere.com to set up dynamic port forwarding via host somewhere.com. I want to switch to using autossh to daemonize the thing and to make sure I don't need to manually ...
user avatar
  • 7,249
1 vote
1 answer
305 views

Cannot reverse port forwarding with SSH as temporary user

I own linux machine A and have a limited access to linux machine B. Both machine have Internet access. Internet access on machine A is partially censored so I want to make a SOCKS proxy tunnel ...
user avatar
  • 111
1 vote
1 answer
2k views

How can I verify if browsing using SOCKS5 proxy (via SSH -D) is TCP over TCP?

The link talks about TCP over TCP when http is used over SOCKS via SSH. I am trying to browse from Firefox (on Ubuntu 14.04) after setting up the SOCKS5 proxy option via localhost. I created a ...
user avatar
1 vote
1 answer
1k views

Dante authenticating user

I have this VPS that has 5 external/public ip addresses and, on only one of them I want to allow user 'someuser' to login in dante: internal: 122.231.9.3 port = 1080 external: 122.231.9.3 ...
user avatar
3 votes
1 answer
341 views

wait for chromium to exit before continuing a shell script

I'm trying to set up a script that I can call up easily in a WM. The idea is to establish a socks tunnel via ssh to a known-good server and then start chromium with the appropriate environment ...
user avatar
0 votes
1 answer
2k views

SSH - How To Make Three Computer Tunnel?

ComputerA connects though putty to Server at port 77, and there is a reverse tunnel set up from the Server at port 6666 to ComputerA at port 22. ComputerA also has a ssh server set up with a user ...
user avatar
1 vote
0 answers
147 views

Share socks5 connection to a 2nd NIC system wide

I'm trying to accomplish the following: I have a server with two NICs. One is wireless (wlan0) made as an access point (using hostapd) and the other one (eth0) is connected to a network that doesn't ...
user avatar
0 votes
1 answer
921 views

Start proxy on system boot

So I have tor installed and have it enabled with systemctl, so tor.service starts on boot and I can automatically just configure SOCKS5 proxies to 127.0.0.1:9050. Now, tor has a few minor annoyances. ...
user avatar
  • 111
0 votes
2 answers
324 views

Can you fake a SOCKS5 proxy?

What I'm wondering if there's a possibility to do something like curl --socks5-hostname 127.0.0.1:8080 url.com Without actually going through any proxy, just your normal internet connection, meaning ...
user avatar
  • 10.6k
1 vote
1 answer
4k views

HOWTO: sshfs via socks proxy

I have some bridge host, which allows access to protected network. I connect to it using this command: ssh sergius@bridge_host -D 3128 Thus, I can turn on socks proxy in browser and it works. I can ...
user avatar
  • 793
6 votes
1 answer
13k views

Run SSH over a SOCKS proxy?

I need VPN-like behavior locally, without using a VPN. I've created a SOCKS proxy to a given server which is reachable from the WAN, and I want all of my traffic forwarded through that proxy so I ...
user avatar
  • 35.5k
4 votes
1 answer
4k views

Create Wifi Hotspot for sharing SOCKS Proxy on Ubuntu Server

I'm using Ubuntu Server and I have a SOCKS Proxy server on my client which is created with ssh -D command. I want to create a Wifi Hotspot on this computer which passes the traffic through this SOCKS ...
user avatar
  • 141
1 vote
1 answer
1k views

Which processes do the ports (as communication connection endpoints) belong to in SSH port forwarding?

(1) For remote forwarding: -R [bind_address:]port:host:hostport Specifies that the given port on the remote (server) host is to be forwarded to the given host and port on the local side. ...
user avatar
  • 89.7k
0 votes
1 answer
1k views

What's the relationship between SOCKS and socket?

SOCKS (socket secure) is a protocol for proxy. A socket is an endpoint of communication. Why is SOCKS named after socket? How are they related?
user avatar
  • 89.7k
2 votes
1 answer
435 views

Identical situation different results! cannot watch youtube over proxy

I use a socks5 proxy for daily Internet browsing to bypass Internet censors (actually it is a Windows application called freegate and I use it under Wine it doesn't need accounts or anything: it is ...
user avatar
  • 277
3 votes
1 answer
4k views

About tun2socks (BadVPN) SOCKS proxy

I am not very experienced with socks proxy. Recently I found the tun2socks. If you open the link, in the 1st paragraph it says : It implements a TUN virtual network interface which accepts all ...
user avatar
  • 101
2 votes
1 answer
3k views

How to route traffic through different proxy servers based on destination

Background I work on a corporate network that is behind a proxy server. I also work with some remote sites that I am able to access via a bastion / jump host ssh proxy. In my ~/.ssh/config I have a ...
user avatar
  • 157
2 votes
1 answer
604 views

Configure Tor Browser to run over SSH SOCKS proxy?

I'd like to proxy all of my Tor Browser traffic through my home network remotely over SSH. If I have SSH access to a computer in my home network and a Tor Browser bundle here, how can I set up the ...
user avatar
  • 35.5k
1 vote
1 answer
2k views

Connect to internet through socks proxy where local DNS does not resolve

I have a local machine with CentOS 7. There is a Socks V5 proxy server on the local subnet that provides this machine with access to the internet. I am able to download files with, curl -x --proxy ...
user avatar
  • 111
6 votes
1 answer
6k views

is it possible to check whether a local socks proxy works with shell script?

Say I have a SOCKS connection at local (established by ssh -D8888). I use this to do many things, like bypass the internet censorship. But sometimes the ssh would unexpectedly broken. Then the socks ...
user avatar
  • 6,795
2 votes
0 answers
4k views

sftp using socks proxy command with password authentication

I am struggling to make a sftp connection.We need to make a sftp connection to download files. My requirement is that we are moving from ftp gateway to axway and We were using ftp before to download a ...
user avatar
  • 21
0 votes
1 answer
271 views

Gnome Shell or Mutter makes X unusable when I kill/restart/etc. tor

I've configured the system to use Tor by setting the SOCK proxy to port 9050 in Settings -> Network -> Network Proxy. At times, Tor takes ages to reconnect after the wifi driver crashes or whatever. ...
user avatar
1 vote
1 answer
254 views

Unexpected netstat output in DNAT conditions

So, here I have a basic setup with SOCKS5 proxy listening on, oh, say 8123 I redirect TCP to the proxy via iptables From iptables perspective everything looks peachy, iptables -t nat -v -L shows ...
user avatar
1 vote
0 answers
373 views

How do I correctly configure Danted?

I have a debian droplet on digital ocean that I'm trying to get danted to work on. I know I have the right username and password and I want to set up a socks5 proxy with auth. Maxathon gives me a 130 ...
user avatar
5 votes
1 answer
18k views

SSH tunneling fails with "administratively prohibited: open failed" [duplicate]

I am trying to connect to internet via a server in local network. I don't have permissions to change server configuration. I want to do a ssh tunnel to that server and via that using socks proxy, I ...
user avatar
1 vote
0 answers
468 views

How to create a SOCKS only group?

I am currently trying to set up a user group that can connect to a server over SSH but only proxy through it. They can't see any files or run any commands. Users in the group would also be able to use ...
user avatar
  • 499
2 votes
0 answers
2k views

how to open up socks/SSH on different network interfaces?

iptables -A PREROUTING -i usb0 -t mangle -p tcp --dport 8080 -j MARK --set-mark 1 iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD ...
user avatar
2 votes
1 answer
10k views

Proxychains, Tor, SSH and Danted. Connection denied

I'm trying to setup proxychains on Kali like this : User > Tor > SOCKS5 > Out I've created my SOCKS5 server with danted running on port 1080. I setup an SSH connection on my Kali distrib : ...
user avatar
3 votes
1 answer
2k views

How can I force SOCKS proxy(Danted) to open UDP port

I nearly waste my 1 day for this issue. I have 2 PCs; 1. Windows as a client, 10.20.30.20 2. Debian(latest) as a server, 10.20.30.10 I install Dante(SOCKS proxy) and configure/restart it. I can use ...
user avatar
  • 31
27 votes
1 answer
11k views

How does a transparent SOCKS proxy know which destination IP to use?

There are two SOCKS proxies that I know about that support transparent proxying for any outgoing TCP connection: Tor and redsocks. Unlike HTTP proxies, these SOCKS proxies can transparently proxy any ...
user avatar
  • 583
3 votes
2 answers
2k views

run a local SOCKS proxy tunneled through SSH

I was going through this post and couldn't quiet follow what is being implied there. A great "feature" I use every day at work: The ability to have SSH listen on port 443 so I can create a ...
user avatar
  • 36.7k