Validate IP address in IP Tables input