Questions tagged [socks]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
371 views

Use SOCKS5 proxy from the Debian installer

I need to be able to use SOCKS5 proxy from the Debian installer. The proxy is provided by SSH client, quick and easy. It should be possible to do after installation is finished, as described in this ...
Nikita Kipriyanov's user avatar
0 votes
0 answers
96 views

Route ocserv traffic to socks proxy

I have a ocserv on a Centos VPS and I want to route ocserv traffic via socks proxy I have installed ocserv and it works correctly. Clients IP pool for ocserv : 192.168.100.0/24 Socks proxy IP (v2ray) :...
xamix_as's user avatar
0 votes
2 answers
989 views

Check whether SOCKS5 proxy server support UDP

Suppose I have UDP server that listen incoming message on 192.168.43.1:1234 and SOCKS5 proxy server that listen on 192.168.43.2:9999. How do I check whether SOCKS5 proxy server support UDP when ...
Muhammad Ikhwan Perwira's user avatar
0 votes
0 answers
635 views

Config Wireguard server to use a socks proxy to access internet

There is a Wiregurad server that is working perfectly, but we need that Wireguard's server connect to the internet using socks proxy through the second server and ONLY Wireguard, Not other programs ...
AmyyazdaN's user avatar
  • 101
0 votes
0 answers
99 views

Oracle linux replacement for tsocks

I used to use a program called tsocks to route traffic through a SOCKS proxy server. tsocks appears to be discontinued or otherwise unavailable on oracle linux. Anything else one would suggest I use?...
thunderchief's user avatar
0 votes
1 answer
707 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 ...
Alex D.'s user avatar
0 votes
1 answer
484 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'...
razer's user avatar
  • 1
0 votes
1 answer
517 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 ...
caveman's user avatar
  • 173
0 votes
1 answer
321 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 ...
Jms Digit's user avatar
0 votes
1 answer
989 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
560 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 ...
Antonio Italiano's user avatar
0 votes
1 answer
978 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 ...
noisey_uk's user avatar
  • 101
0 votes
1 answer
554 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 ...
Daniel Kinahan's user avatar
2 votes
0 answers
79 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 ...
Tumtum's user avatar
  • 21
2 votes
0 answers
1k 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 ...
Hoorah's user avatar
  • 21
1 vote
1 answer
2k 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 ...
Mehdi Pourfar's user avatar
0 votes
1 answer
420 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 ...
Tim's user avatar
  • 100k
0 votes
2 answers
284 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 ...
Hussain Akbar's user avatar
2 votes
0 answers
2k 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 ...
mahmood's user avatar
  • 1,151
0 votes
1 answer
354 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&...
Megidd's user avatar
  • 1,529
2 votes
1 answer
5k 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 ...
NetSec's user avatar
  • 23
25 votes
4 answers
5k 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 ...
Alex Stragies's 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 ...
achille's user avatar
  • 41
3 votes
1 answer
3k 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 ...
user3573987's user avatar
4 votes
2 answers
3k views

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

I use ssh -D 12345 [email protected] 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 ...
einpoklum's user avatar
  • 9,197
1 vote
1 answer
329 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 ...
Kh40tiK's user avatar
  • 111
2 votes
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 ...
nnovoice's 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 ...
Romeo Mihalcea's user avatar
3 votes
1 answer
505 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 ...
testname123's 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 ...
appleLover's user avatar
1 vote
0 answers
179 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 ...
Marian Boricean's user avatar
0 votes
1 answer
1k 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. ...
Awn's user avatar
  • 111
0 votes
2 answers
501 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 ...
DisplayName's user avatar
  • 11.5k
2 votes
1 answer
5k 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 ...
Sergius's user avatar
  • 813
7 votes
1 answer
18k 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 ...
Naftuli Kay's user avatar
  • 39.1k
4 votes
1 answer
5k 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 ...
mehrmoudi's 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. ...
Tim's user avatar
  • 100k
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?
Tim's user avatar
  • 100k
2 votes
1 answer
516 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 ...
Shervan's user avatar
  • 287
3 votes
1 answer
5k 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 ...
Leem.fin's 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 ...
Jeef's user avatar
  • 157
3 votes
1 answer
777 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 ...
Naftuli Kay's user avatar
  • 39.1k
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 ...
erichfw's user avatar
  • 111
6 votes
1 answer
7k 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 ...
AGamePlayer's user avatar
  • 7,505
2 votes
0 answers
5k 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 ...
Eshwar's user avatar
  • 21
0 votes
1 answer
345 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. ...
Jeff Burdges's user avatar
1 vote
1 answer
283 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 ...
Lone_passerby's user avatar
1 vote
0 answers
436 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 ...
William F Cipriano's 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 ...
nisargjhaveri's user avatar
1 vote
0 answers
503 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 ...
Griffin's user avatar
  • 509