iptables -t nat -A POSTROUTING -s 10.10.10.5 -d 'sever ip' -j DROPI 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.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. |