how can make transparent proxy on more than one port?

Posted by ermya on Server Fault See other posts from Server Fault or by ermya
Published on 2012-09-21T17:14:58Z Indexed on 2012/09/22 9:40 UTC
Read the original article Hit count: 371

i want to make transparent proxy with linux ( centos) ,

i want all incoming connection on port 1000 - 2000 on eth0 forward to eth1 on port 1000 - 2000 in transparent mode

i have 2 server 1- linux ( proxy server) 2- windows

i want protect my windows server with my linux server firewall also i must make transparent proxy with my linux server linux server have 2 interface one for public network an another for private network connected to windows server

so all incoming connection must connect to the linux server (at eth0 public network) first and after checking , must forward to the windows server on private network (with linux interface eth1 )

i can use squid for making transparent proxy but i dont know how i must config the squid for multi port because i want listen in more than 1000 ports

for example from port 1000 to 2000

anyone know how can i do ?

© Server Fault or respective owner

Related posts about centos

Related posts about iptables