Correct me if I am wrong, but in a LAN, when a packet sent by a computer has a destination located in the Internet, it will send it to the gateway (which is a router only right?).
Now, I want to implement a proxy. I was thinking about setting the proxy as a gateway. The proxy will then redirect packets to the router.
Is it the good way? If not, what is the other alternative?