Added SNAT handling code in the cfg agent