Redirecting to more than 1 port.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi

I want to run 2 instances of SQUID (Transparent Proxy). Currently I'm
running only one instance of squid and my IPTABLE is as follows:

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
--to-port 3128

My 2nd instance of Squid will run one port 8080, will the following
configuration be correct:

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
--to-port 3128:8080

If not, can you please advice.
_______________________________________________________________
 http://www.webmail.co.za the South-African free email service

  NetWiseGurus.Com Portal - Your Own Internet Business Today!



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux