Questions tagged [socks]

The tag has no usage guidance.

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

Running SOCKS server on raspi

I have recently bought a Raspberry Pi 4B, I'm trying to use the SOCKS proxy. Setup: Pi connected to the router via LAN/WiFi Pi acts an access point/hotspot Clients (PC, Laptop, TV ...) will be ...
1
vote
1answer
22 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 ...
0
votes
1answer
68 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 ...
0
votes
1answer
75 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 ...
0
votes
0answers
163 views

Use Network Namespace for SSH Tunnel

I have an Ubuntu 18.04 server in which I've created two virtual interface pairs (veth0a & veth0b) and assigned the end of one interface (veth0b) to a new network namespace (netns0): ip netns add ...
0
votes
0answers
36 views

How would I reroute *all* traffic through my SOCKS5 proxy?

I have a SOCKS5 proxy provided by my VPN, Mullvad. IP 10.8.0.1 and port 1080. I see this question has been posted a few times on this forum, but a lot of the questions I find are either unanswered or ...
2
votes
0answers
46 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 ...
2
votes
0answers
106 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 ...
1
vote
1answer
810 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 ...
0
votes
1answer
148 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 ...
0
votes
2answers
113 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 ...
1
vote
0answers
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 ...
0
votes
1answer
135 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&...
1
vote
1answer
3k 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 ...
15
votes
2answers
3k 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 ...
1
vote
1answer
871 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 ...
2
votes
1answer
1k 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 ...
3
votes
2answers
1k 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 ...
1
vote
1answer
225 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
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 ...
3
votes
1answer
223 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 ...
0
votes
1answer
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 ...
1
vote
0answers
126 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 ...
0
votes
1answer
724 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. ...
0
votes
2answers
235 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 ...
1
vote
1answer
3k 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 ...
6
votes
1answer
10k 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 ...
4
votes
1answer
3k 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 ...
1
vote
1answer
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. ...
0
votes
1answer
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?
2
votes
1answer
409 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 ...
3
votes
1answer
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 ...
2
votes
1answer
2k 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 ...
2
votes
1answer
449 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 ...
1
vote
1answer
1k 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 ...
6
votes
1answer
4k 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 ...
2
votes
0answers
3k 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 ...
0
votes
1answer
193 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. ...
1
vote
1answer
225 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 ...
1
vote
0answers
358 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 ...
4
votes
1answer
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 ...
1
vote
0answers
445 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 ...
2
votes
0answers
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 ...
2
votes
1answer
9k 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 : ...
3
votes
0answers
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 ...
20
votes
1answer
9k 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 ...
3
votes
2answers
1k 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 ...
6
votes
1answer
2k views

Run SSH SOCKS5 proxy on system startup

I want to setup a linux server (Ubuntu Server 14.04 in this case) to be used as a SOCKS5 proxy by software on another client. Now this is pretty easy by running ssh -f -N -D 0.0.0.0:1080 localhost as ...
5
votes
1answer
2k views

Debian CLI torrent program through VPN

Has anyone successfully set up a CLI-only (no web UI's!) torrent client that can tunnel all of its traffic through a VPN? (Either by sending all traffic through a particular interface or a SOCKS proxy)...