A
A
artemmensk2014-07-28 22:22:50
SSH
artemmensk, 2014-07-28 22:22:50

WiFi sharing and ssh tunnel, how to make friends?

I use linux, I'm on a local network, Internet access is blocked.
But there is access to a network server from which there is access to the Internet.
ssh -D 9900 [email protected]
then I set up a proxy on localhost and port 9900 and use the Internet.
Next, I distribute wifi to a machine with windows ..
what should I configure now so that this machine can also use this ssh?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Goncharov, 2014-08-16
@artemmensk

By default, ssh -D port only binds to 127.0.0.1 and ::1.
You can try to do like this
ssh -D 192.168.xy:9900 [email protected]
instead of 192.168.xy we enter the IP address of the Linux machine, which is accessible from the Windows machine (essentially the Linux address on the WiFi interface).
after that, on a Windows machine in the browser, we specify this address as a SOCKS proxy.
On a Linux machine, you will also need to change the proxy address.
In addition, you can try to do ssh -D \*: 9900 [email protected], in which case it will bind to all addresses, in which case the proxy on 127.0.0.1 will continue to function.

A
artemmensk, 2014-07-28
@artemmensk

I enter in the windows settings to use a proxy (I specify the IP address that windows received in the wifi network I made and the port that I used for the ssh connection (9900 in the example above) but it doesn’t help .. please help figure out how to do everything right?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question