Mithrilhall
August 24th, 2006, 03:32 PM
I was wondering if anyone can help me setup a transparent proxy (Squid or Tinyproxy).
My current setup is:
Internet <--> (K)Ubuntu <--> Switch <--> Computers
My (K)Ubuntu server has two NICs (eth0 & eth1). The two NICs have static IP addresses (eth0 is 10.2.176.2 and eth1 is 10.2.176.3). My network is 10.2.176.0/24 and 10.2.176.2 - 10.2.176.10 are reserved so the computers will start pulling IP addresses beginning at 10.2.176.11.
I want all web traffic to go through my proxy server but I'm not sure how to go about doing this (iptables?).
My current setup is:
Internet <--> (K)Ubuntu <--> Switch <--> Computers
My (K)Ubuntu server has two NICs (eth0 & eth1). The two NICs have static IP addresses (eth0 is 10.2.176.2 and eth1 is 10.2.176.3). My network is 10.2.176.0/24 and 10.2.176.2 - 10.2.176.10 are reserved so the computers will start pulling IP addresses beginning at 10.2.176.11.
I want all web traffic to go through my proxy server but I'm not sure how to go about doing this (iptables?).