I am using my laptop as a wifi hotspot to share my internet connection with other devices.

My internet connection goes out through a socks proxy. In my laptop I configured redsocks to redirect all traffic through port 12345 through this socks proxy.

I want all the incoming traffic from the wifi hotspot gets transparently redirected to this port that redsocks is listening to.

How can I achieve this?

  • Is redsocks redirecting all traffic, or is it listening? – Michael Prokopec Nov 27 '18 at 3:43
  • @MichaelProkopec redsocks is listening on a port. I want to redirect the wifi hotspot incoming traffic to this port. – becko Nov 27 '18 at 14:21
  • there are comments for routing at the end of the example: github.com/darkk/redsocks#iptables-example – A.B Dec 20 '18 at 22:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.