Re: Two IP add

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

 



On Thu, 2003-06-05 at 15:26, Paulo Andre wrote:
I would like to do the following:

Stop MASQUESRADING to two servers say. 10.10.10.5 and 10.10.10.8, how would i 
do this with a rule.

iptables -t nat -A POSTROUTING -s x.x.x.x -d ! 'servers ip' -j MASQUERADE 
now how would i put in two ip address's ?


	Hi
iptables -t nat -A POSTROUTING -s 10.10.10.5 -d 'sever ip' -j DROP
iptables -t nat -A POSTROUTING -s 10.10.10.8 -d 'sever ip' -j DROP

Should work
-- 
Regards
Dharmendra.T


This message is intended for the addressee only. It may contain privileged or Confidential information. If you have received this message in error,please notify the sender and destroy the message immediately.Unauthorised use or reproduction of this message is strictly prohibited.

[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