Using the proper gateway addresses