[Tech] firewall

Federico Bernardin federico.bernardin@immaginario.com
Gio 22 Set 2005 16:24:29 CEST


Ciao a tutti,
ho un quesito:
ho fatto un firewall con iptables usando fwbuilder.
Ho una macchina con 4 schede di rete, collegata a 2 router adsl.
1° scheda eth0 --> LAN 192.168.61.0
2° scheda eth1 --> DMZ 192.168.1.0
3° scheda eth2 --> INT1 85.46.56.216/8
4° scheda eth3 --> INT2 85.47.129.128/8

Il problema è che se faccio uscire la lan nattandola per un ip della scheda
eth2 tutto funziona se la natto per un ip della scheda eth3 non riesco ad
uscire. La tabella di route ha come default gateway eth2.
Posso dare due default gateway oppure trovare il modo per dire che se l'ip
sorgente è della scheda eth2 esci per router INT1, se l'ip sorgente è della
scheda eth3 esci per router INT2?

Ciao e grazie

Federico




Maggiori informazioni sulla lista flug-tech