Web access example

In this case, the new Internet Access (eth2) will be used for the LAN web access that will be redirected to the new interface:

  1. Rule to masquerade the outgoing traffic for the eth2 interface;

  2. Rule to allow the replies for port 80 by the Internet web servers:

  3. Rule to allow the replys for port 443 by the Internet web servers:

  4. Rule to forward traffic with origin in LAN and destination the port 80 in Internet (only when the proxy is not used!)

  5. Rule to forward traffic with origin in LAN and destination the port 443 in Internet (only when the proxy is not used!)

  6. Rule to forward traffic with origin in a machine conected to the LAN using VPN PPTP and destination the port 80 in Internet (only when the proxy is not used!)

  7. Rule to forward traffic with origin in a machine conected to the LAN using VPN PPTP and destination the port 443 in Internet (only when the proxy is not used!)

  8. Rules to forward outgoing Internet web http traffic for eth2:

  9. Rules to forward outgoing Internet web https traffic for eth2:

NOTE: To route other services for the new internet access (local and remote port), the idea is the same.

iPortalMais