it is quite easy with a custom chain:
Code:
iptables -t nat -N sub-postrouting
iptables -t nat -A sub-postrouting -d 192.168.0.0/16 -j RETURN
iptables -t nat -A sub-postrouting -d 172.168.0.0/16 -j RETURN
iptables -t nat -A sub-postrouting -j SNAT --to-source 202.xxx.xx.xx
iptables -t nat -A POSTROUTING -s 172.168.5.0/24 -o eth0 -j sub-postrouting