Hi, I would like to do the following: -t nat -A POSTROUTING -i eth3 -j MASQUERADE but I get this error: iptables v1.4.21: Can't use -i with POSTROUTING So I am plannig to use: -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE However I find the latter, working solution less smarter than the first, non working. For example I should add rules for every network coming from that interface that may also change in the future. Is there a reason why -i is forbidden? Is there a better solution than using -s? Thanks. -- ing. Pedretti Fabio Responsabile U.O.C. "Reti e Sistemi" http://www.unibs.it/organizzazione/amministrazione-centrale/servizio-servizi-ict/uoc-reti-e-sistemi Università degli Studi di Brescia Via Valotti, 9 - 25121 Brescia E-mail: fabio.pedretti@xxxxxxxx -- Informativa sulla Privacy: http://www.unibs.it/node/8155 -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html