will port forwarding work here?

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

 



Hi,
I have 2 squid proxy on two different machines 192.168.0.10 and 
192.168.0.11 All my clients are configured to use 192.168.0.10:3128
Now I want a few specific clients to use 192.168.0.11:3128
Is it possible to write some kind of rule on 192.168.0.10 which will 
*properly* redirect traffic from 192.168.0.10:3128 to 
192.168.0.11:3128 for those clients.  A friend on chat suggested (he 
was not sure),

iptables -A PREROUTING -t nat -s 192.168.0.10 --dport 3128 \
 -j DNAT --to-destination 192.168.0.11

Is there anything else missing?

With warm regards,
-Payal



[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