Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

so, for example i have:

 4 computers (clients A-D: 10.0.0.1-3 or dhcp)
 1 computer with 2 network cards (gateway-server, eth0: 10.0.0.254, eth1: 192.168.1.1)
 1 computer with 2 network cards (router, eth0: 192.168.1.254, 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

 
discard

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

Browse other questions tagged or ask your own question.