Return pack to the same local server using DNAT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Hown can I do the follwing:

I have a firewall (172.17.1.6) using a "Linka" default gw is of the provider (200.204.151.65) and I have a PREROUTING with DNAT to the local server 172.17.1.7 port 21.

The local server 172.17.1.7 has another link "Linkb" and the default gw is of the provider (200.204.140.1). 

This is the problem. The packet is returning using the link default gw the linkb. 

For request for port 21 I'd link to use the 172.17.1.6


Hown can I do this??



Sebastião Antônio Campos


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux