IP FORWARDING IPTABLES

hi, any help on configuration of itatbles firewall?

I have three NICs with WAN eth0 (10.10.10.253), LAN1 eth1(192.168.0.253), LAN2 eth2(10.100.3.253) default gateway 10.10.10.1

router1 (provider1) = 10.10.10.1 router2 (provider2) = 10.10.10.2

I choose to configure my firewall to route packets in a different manner depending on destination. so I used ROUTE command to route packets this way

route add -net netmask

255.255.255.255 gw eth0

route add -net netmask

255.255.255.255 gw eth1

It seems to work, so I'm reaching destination IP_address1 AND IP_address2 BUT if I ping destination IP or I traceroute it the only one responding is the one on eth0 (default gateway card) route.

?? where is the filtering stopping my PING packets , so they don't get back ?

help me, pls

marco

-------------------------------

ciao a tutti, qualcuno mi saprebbe dareuna dritta ?

read more and respond »

Posted 5 years ago by madmax71 in Networking Firewalls

Report misuse

Image for IP FORWARDING IPTABLES