Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to redirect all non-local traffic to a socks proxy?

so, for example i have:

 4 computers (clients A-D: or dhcp)
 1 computer with 2 network cards (gateway-server, eth0:, eth1:
 1 computer with 2 network cards (router, eth0:, eth1: public-ip)

I need to make all computer that through my gateway-server to use socks proxy that installed on gateway-server without need to configure each client's browser.

the purpose is to log all urls and bandwidth usages.

the question is..

  1. is it possible? and if so, how to do it?
  2. if is it not possible, what are the alternative?
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.