gateway and proxy

i want every packet that passes throught the masquerate to be sent automatically for the gateway and the proxy server directly and even the packet that returns from the internet also pass throught the proxy server