This called a transparent proxy configuration. It is usually achieved by configuring ... a "man in the middle" server for security purposes. One solution is