is it possible with iptables

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

 



Im trying to get local traffic from a linux box destined for the same box
routed through a test network.



further explanation:



I have 2 Ethernet cards in the linux 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