Add NAT code