Fix minor bug related to NAT settings