(E-Mail Removed) wrote:
> In a network where you have a router behind another
> can both masquerade or only the first?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^
You can have both masquerade, if it makes sense..
> If not then can you just forward and not masquerade with
> iptables rules?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Why not route with routing rules, if natting is not necessary?
> This would have the most outward firewall
> doing the masquerade for both subnets and the inward
> only forwarding.
> Most firewall scripts I've seen do not seem to differentiate
> between forward and masquerade.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^
Routing and masquerading are different things. Routing is put a packet on an
interface. Masquerading is replacing the senders address with the one of
the gateway.
> ex yast firewall in SuSE
> has turn on forwarding and masquerade as one button.
That means: no forwarding->no masquerading is necessary
> I'm concerned there is a concern with masquerade twice?
> Any help?
>
> -Walt
Regards, Alex