Le 02/07/2017 à 12:33, Robert White a écrit :
On 07/02/2017 07:29 AM, Pascal Hambourg wrote:
Le 01/07/2017 à 22:26, Robert White a écrit :
I think you missed the point and focused on an irrelevant detail in the
OP. This topic is about advanced routing.
Read the OP again. Traffic is coming in on ppp0, hitting a server
hanging off eth1, and then the replies are supposed to go back to eth1
and go out on ppp0.
There is literally no simpler task in DNAT.
This was not an "advanced routing" question, this was an "introduction
to DNAT" level question.
Again, you missed the important point : reply packets must go out
through ppp0 but the default route is through eth0, not ppp0. Without
advanced routing, reply packets will go out through eth0.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html