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 Proxy. I'm connected to Internet through ethernet, so Wifi is idle.
Is this possible? How can I achieve this?
Best Answer
TCP traffic from the hotspot can be passed through the
ssh -D
socks proxy usingredsocks
. Withredsocks
installed and configured one can useiptables
to redirect all traffic from the wifi hotspot toredsocks
which then passes it through the socks proxy.For instance if your wifi hotspot is on the
10.42.0.1/24
subnet and the incomingredsocks
port is12345
issue:For a detailed set of instructions visit http://abidmujtaba.blogspot.com/2016/07/ubuntu-create-wifi-hotspot-access-point.html