How to set multi network ip forward ( prerouting )

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

 



Sorry Sir,

I have multi network
Net A : 10.128.0.0/255.255.0.0
Net B : 10.129.0.0/255.255.0.0
Net C : 10.129.0.0/255.255.0.0
Net D : 10.131.0.0/255.255.0.0 
Net E : 10.138.0.0/255.255.0.0 
Net F : 10.192.0.0/255.255.0.0 
Net G : 10.192.0.0/255.255.0.0
Net H : 10.64.0.0/255.255.0.0

I want to set "iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -s -d < Net A,B,C,D,E,F,G,H > -j REDIRECT 8080

How to type multi network setting command 

Thanks

Joe Yu
-- 
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

One click access to the Top Search Engines
http://www.exactsearchbar.com/mailcom




[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