iptables -- routing

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

 



I have 2 Ethernet cards in a box.

 

Call them eth0 with IP address 192.168.0.1    and

eth1 with IP = 192.168..0.2

 

eth1= 192.168.0.2 is connected to another computer a gateway which has the IP address 192.168.0.3. This computer is then connected to an external network which is again connected to eth0=192.168.0.1 in the first box.

 

Now the problem is I want to get locally generated packages in the box destined for 192.168.0.2 (eth1 in the box) to leave the box and be routed trough the network to the box again.

 

I have been trying to use iptables but not found a solution.

 

Any suggestion would be welcome?  / Thor


[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